How does this work with virtual memory a computer uses on the harddisk, or is that a windows only thing? I have no idea how much ram Renoise is able to maximally use from my 4 gig internal, it might not say much in how the operating system allocates memory in combination with the pagefile.sys? Saying stuff without knowing what I’m talking about
You can identify how much memory is used in a Windows application with GetProcessMemoryInfo, which will return both main memory and swapfile usage. Free memory apparently can be found via GlobalMemoryStatusEx.
Linux unfortunately does not complete all fields in the getrusage() syscall. Parsing /proc//statm appears to be the only way.
Don’t know about Mac, maybe the same as Linux due to the Unix-style OS?