View a process's memory allocator statistics
These views in the QNX System Information perspective are especially useful for examining the memory of your target system:
The Malloc Information view displays statistical information from the general-purpose, process-level memory allocator:
When you select a process in the Target Navigator view, the IDE queries the target system and retrieves the allocator's statistics. The IDE gathers statistics for the number of bytes that are allocated, in use, and overhead.
The view includes the following panes:
The Total Heap pane shows your total heap memory, which is the sum of the following states of memory:
The bar chart shows the relative size of each.
The Calls Made pane shows the number of times a process has allocated, freed, or reallocated memory by calling malloc(), free(), and realloc() functions. (See the Neutrino Library Reference.)
The Core Requests pane displays the number of allocations that the system allocator automatically made to accommodate the needs of the program you selected in the Target Navigator view. The system allocator typically dispenses memory in increments of 4KB (one page).
The number of allocations never equals the number of deallocations, because when the program starts, it allocates memory that isn't released until it terminates.
The Distribution pane shows a distribution of the memory allocation sizes. The pane includes the following columns:
The History pane shows a chronology of the heap usage shown in the Total Heap pane. The pane automatically rescales as the selected process increases its total heap.
The History pane updates the data every second, with a granularity of 1KB. Thus, two 512-byte allocations made over several seconds trigger one update.
![]() |
You can choose to hide or display the Distribution and History panes:
|