Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
BlackBerry Development Advisor
Posts: 417
Registered: ‎10-27-2010
My Device: PlayBook

Memory profiling and detecting memory leaks for native apps

[ Edited ]

If you don't know NDK has tools to deletect memory leaks and do memory profiling. I wrote an article few years ago

about using the tool which is largely still relevant:

   Memory Profiling using QNX Momentics IDE - http://community.qnx.com/sf/go/doc1242?nav=1

 

The same tools allow to detect runtime memory corruption issues, check the docs:

   https://bdsc.webapps.blackberry.com/native/documentation/com.qnx.doc.ide.userguide/topic/memory_unde...

 

 

 

 

Highlighted
Developer
Posts: 1,807
Registered: ‎04-28-2009
My Device: Z10 (STL100-4)-10.3.2.858, Z10 (STL100-3)-10.3.1.2576, Z30 (STA100-5)-10.3.1.2582, Passport (SQW100-1)-10.3.1.2576, PlayBook (16GB)-2.1.0.1917
My Carrier: Verizon

Re: Memory profiling and detecting memory leaks for native apps

I just found out about this earlier in the day. Definitly like it better then writing my own (the classic custom malloc/free/etc. stuff).
---Spends time in #blackberrydev on freenode (IRC)----
Three simple rules:
1. Please use the search bar before making new posts.
2. "Like" posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.
Developer
Posts: 113
Registered: ‎03-23-2011
My Device: Playbook, Z10
My Carrier: Platinumtel

Re: Memory profiling and detecting memory leaks for native apps

I was wondering about this the other day. Great to know about it.
----------------
WIP game: Melodaeum
My graphically bland but very useful Morse Code trainer: Speed CW
My graphically attractive but boring game: The Rainstorm