OEGetProcessMemUsage

void OEGetProcessMemUsage(size_t& vm_usage, size_t& resident_set)

Returns the total amount of virtual memory used as the vm_usage parameter, and the total amount of memory resident in physical memory as the resident_set parameter.