# Detecting Memory Leaks

**URL:** <https://forum.sierrawireless.com/t/detecting-memory-leaks/1447>\
**Category:** Open AT\
**Created:** [July 10, 2007, 9:13am UTC](https://forum.sierrawireless.com/t/detecting-memory-leaks/1447 "2007-07-10T09:13:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![robshand](https://avatars.discourse-cdn.com/v4/letter/r/d26b3c/32.png) [@robshand](https://forum.sierrawireless.com/u/robshand)\
**Post date:** [July 10, 2007, 9:13am UTC](https://forum.sierrawireless.com/t/detecting-memory-leaks/1447/1 "2007-07-10T09:13:06Z")

</div>

Hi All,

Would like to detect memory leaks, but I can’t find a function to tell me how much heap mem is available (I normally cycle a function and check the heap usage).

I tried adl\_memGetInfo, but it only gives me the _total_ amount of heap mem available.

Can anyone point me out?

Kind Regards,  
Rob

---

<div class="post-metadata">

**Author:** ![colin-tfe](https://avatars.discourse-cdn.com/v4/letter/c/cdc98d/32.png) [@colin-tfe](https://forum.sierrawireless.com/u/colin-tfe)\
**Post date:** [July 10, 2007, 10:27am UTC](https://forum.sierrawireless.com/t/detecting-memory-leaks/1447/2 "2007-07-10T10:27:34Z")

</div>

Hi !

There is a working solution given there : [wavecom.com/modules/movie/sc … php?t=1220](http://www.wavecom.com/modules/movie/scenes/forums/viewtopic.php?t=1220)  
(at the end of the topic)
