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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Native Development

Reply
BlackBerry Development Advisor
elena_laskavaia
Posts: 410
Registered: ‎10-27-2010

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...

 

 

 

 

Please use plain text.
Developer
rcmaniac25
Posts: 1,789
Registered: ‎04-28-2009
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).
------------------------------------------------------------
Three simple rules:
1. Please use the search bar before making new posts.
2. Kudo 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.
Please use plain text.
Developer
cycletronic
Posts: 112
Registered: ‎03-23-2011
My Carrier: My fingers

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
Please use plain text.