Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

Hi,
is there any tool which allows to detect memory leaks?
On other mobile platforms I have been using some tools, but I haven't found anything for BREW so far.
Please let me know.

Thanks

Hi maranza,
The Simulator tells you when an applet leaks memory. In order to find out if an applet leaks memory, quit an applet after running it and look at the Simulator log for something like the following. This will tell you if the applet leaked any memory.
19:24:12:930 AEEModule.c:246 - Warning -- memory leak, freeing, 0x57062A0, SmartDIBCore, size 132
19:24:12:946 AEEModule.c:246 - Warning -- memory leak, freeing, 0x57063A0, IMemRegion1Stub, size 28
Thanks,
Anand

Hi maranza,
The Simulator tells you when an applet leaks memory. In order to find out if an applet leaks memory, quit an applet after running it and look at the Simulator log for something like the following. This will tell you if the applet leaked any memory.
19:24:12:930 AEEModule.c:246 - Warning -- memory leak, freeing, 0x57062A0, SmartDIBCore, size 132
19:24:12:946 AEEModule.c:246 - Warning -- memory leak, freeing, 0x57063A0, IMemRegion1Stub, size 28
Thanks,
Anand

Hi maranza,
A 3rd party tool that professes to aid memory leak detection and debugging is DUMA. According to the documentation, it detects Memory Leaks, Buffer Over-runs, and Buffer under-runs. Qualcomm does not provide or support this tool but you may be able to contact the developers for further help if you need any.
The website is pasted below.
http://blog.airsource.co.uk/index.php/2007/07/17/duma-release/
Thanks,
Anand

Hi maranza,
A 3rd party tool that professes to aid memory leak detection and debugging is DUMA. According to the documentation, it detects Memory Leaks, Buffer Over-runs, and Buffer under-runs. Qualcomm does not provide or support this tool but you may be able to contact the developers for further help if you need any.
The website is pasted below.
http://blog.airsource.co.uk/index.php/2007/07/17/duma-release/
Thanks,
Anand

Have anybody success with DUMA for BREW MP? As per the site it looks like the tools is for BREW, but not BREW MP.

Have anybody success with DUMA for BREW MP? As per the site it looks like the tools is for BREW, but not BREW MP.

I have used DUMA for Brew MP.  It only works on the simulator...

I have used DUMA for Brew MP.  It only works on the simulator...