You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Julia 1.8.3, ARM build, and x86 build with Rosetta, Sys.free_memory() returns around 50MB, while my activity monitor shows that 2.5GB is free. Sys.total_memory() is correct. Note the Memory: line in the screenshot below:
The result of Sys.free_memory() is not fixed, but it is always too low:
Might need to file this upstream with libuv too, if the issue is accurate. Maybe we should try using host_statistics64 for this API? FWIW, on my Intel machine with 16 GB ram and 12 GB "used" I get:
It is also thus likely that this value is correct, and that there are various file caches occupying the difference in space. Which is both "free" (in the sense that it can be dropped without writing to cache) and used (in the sense that it currently is allocated to hold something)
On Julia 1.8.3, ARM build, and x86 build with Rosetta,
Sys.free_memory()
returns around 50MB, while my activity monitor shows that 2.5GB is free.Sys.total_memory()
is correct. Note theMemory:
line in the screenshot below:The result of
Sys.free_memory()
is not fixed, but it is always too low:The text was updated successfully, but these errors were encountered: