Skip to content
Snippets Groups Projects
Commit d1536b02 authored by Nicolae Vartolomei's avatar Nicolae Vartolomei
Browse files

macOS: Better approximation for AvailablePhysicalMemory

On macOS, free pages does not seem to be a good indicatur for "available
physical memory". Neither inactive ones, but it answers better questions like:
"How much memory could this process use in best case scenario".

Free + Inactive aproximately matches Activity Monitor.app output.

https://developer.apple.com/library/archive/documentation/Performance/Conceptual/ManagingMemory/Articles/AboutMemory.html#//apple_ref/doc/uid/20001880-99406-TPXREF103
parent ce89cada
No related branches found
No related tags found
1 merge request!128macOS: Better approximation for AvailablePhysicalMemory
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment