The OpenD Programming Language

rt.sys.windows.osmemory

Undocumented in source.

Members

Functions

getPageSize
size_t getPageSize()

Get get the page size of OS

isLowOnMem
bool isLowOnMem(size_t mapped)

Check for any kind of memory pressure.

os_mem_map
void* os_mem_map(size_t nbytes)

Map memory.

os_mem_unmap
int os_mem_unmap(void* base, size_t nbytes)

Unmap memory allocated with os_mem_map().

os_physical_mem
ulong os_physical_mem()

Get the size of available physical memory

Meta