Hacker News new | ask | show | jobs
by isatty 2033 days ago
As a comment above already mentioned - you should not try to work around and find the size of the physical memory installed because it often has no correlation to the amount of memory available to the kernel (and, to the user).