Closed timblechmann closed 5 years ago
the mach codepath doesn't obtain MemTotal, which will always cause the a pessimistic 100MB memory limit. as later on, we'll just return 0.
MemTotal
the best way on macos to obtain the total memory is reading hw.memsize
hw.memsize
compare: #466
Can someone ping me when/if this is merged? I'd like to backport this patch to the homebrew formula.
@zbeekman merged.
@HenryMiller1 thanks for merging it so quickly!
the mach codepath doesn't obtain
MemTotal
, which will always cause the a pessimistic 100MB memory limit. as later on, we'll just return 0.the best way on macos to obtain the total memory is reading
hw.memsize