formZ SDK | 5.0 API Reference | System | Runtime Library (FZRT) | Memory
Description
Gets the amount of free memory. This will return the amount of free memory in the available to the application. Under virtual memory systems, this is just an estimate. This includes all fragmented blocks in the heap, so it is possible that you cannot allocate this much memory with one allocation.
Plugin Prototype
fzrt_error_td fzrt_free_mem(
fzrt_unsigned_int * | free_mem ) |
Parameters
free_mem [Result]
The size, in bytes, of the available memory in the heap
Returns
The amount of free memory in bytes
Availability
5.0.0.0
Function Set
Defined in