I call the
MemoryInUse function, and it outputs about 256 Megabytes.
However, my activity monitor tells me Mathematica is using 5.45 GB and WolframKernel is using 2.32 GB.
Moreover, much more memory should be available than what
MemoryAvailable tells me is available on my 16 GB computer, taking into account the other tasks on my activity monitor which use little memory by comparison.
Why is this?
Perhaps Useful Info
- I am not running anything in Mathematica.
$HistoryLengthwas set to 0 beforehand.
Update with Screenshots
The screenshots below are from different sessions than my original (which I do not have a screenshot of), but demonstrate the same issue.
2nd Update with Screenshots
Here are some other sessions demonstrating the problem.
3rd Update with Screenshots
Here is one where the difference between the
MemoryInUse output and "WolframKernel" from the activity monitor differ significantly.
MemoryAvailable seems off too.
4th Update with Screenshots
The difference here between the
MemoryInUse output and "WolframKernel" from the activity monitor is significant.
MemoryAvailable is still off as well.
MacOS Big Sur Version 11.6