Resources | developer.brewmp.com Resources | developer.brewmp.com

Developer

resources

Heap debugging tools

Brew MP provides the following tools that can be used for heap debugging:

  • JTAG and Trace32
    • heap_print.cmm

      A trace32 cmm script that walks the heap and prints out information about each heap node present in the system.

    • heap_stat.pl

      A perl scripts that can be run on the output of heap_print.cmm and generate client specific heap usage statistics.

  • Memory analysis tools and utilities

    Includes Heap Analyzer, Heap1Wrapper , and OEMNotifyListener. These tools enable tracking of memory allocation, de-allocation, usage, and profiling, which can help detect:

    • Potential memory leaks if memory usage continues to go up unexpectedly
    • Memory hogging modules or applets
    • The degree of fragmentation based on the maximum free heap node
    • Memory corruption