heapsize
Sets the miminum size of allocated heaps.
Available in:
Apps (win) |
Apps (char) |
Reportwriter |
RPC |
Standalone PL |
X |
X |
X |
X |
X |
Syntax
int heapsize(heapsize)
int heapsize
Description
Sets the memory manager's minimum heap size, overriding the
heap_block_size value in
dv.ini/trim.ini. The new heapsize is returned. The current heapsize
value is available using sysinfo(sysinfo_heapsize).
Every list object in TRIMpl has its own heap so an application with many lists
and a large heapsize may waste memory. Conversely a small heapsize will result
in many irregularly sized heaps in the free heap list.