Returns memory pages released (via free) and no longer in use.
int heap_compact(void);
None.
As pages are returned, the total physical and virtual memory burden for the process is reduced and may be observed with INtex.
0 (zero) 
0 (zero) 
EEXIST | 
The heap is deleted. | 
EINVAL | 
The heap is not a valid MPOOL. | 
| Versions | Defined in | Include | Link to | 
|---|---|---|---|
| INtime 4.0 | intime/rt/include/heap.h | heap.h | clib.lib |