htop-osx icon indicating copy to clipboard operation
htop-osx copied to clipboard

Physical Free Memory Reported Wrong

Open omellette opened this issue 14 years ago • 2 comments

Hello, after installing the port, I believe that the physical memory report may be incorrect.

For example, in top, I get: 1933M used, 6258M free In htop: 5774 / 7936MB

Not a critical issue by any means, but I realize that it may get annoying to read after awhile. I had a similar issue with top on ubuntu, where the program was reporting this number as used memory + cached memory + buffers, while I tend to think of "free memory" as only the used part.

omellette avatar May 11 '11 21:05 omellette

Same for the RES and VIRT columns, they seem to be off by a factor of 4. In top, with o -rsize:

PID     ...     RPRVT   RSHRD   RSIZE   VPRVT   VSIZE
43423   ...     446M    50M     491M    914M    4296M

and in htop:

  PID   ...     VIRT   RES
43423   ...     16.8G 1962M

I noticed this on 10.5.8 before upgrading, and still see it on 10.6.6. Version is htop 0.8.2.1, current in MacPorts.

gthb avatar Sep 23 '11 15:09 gthb

Noticed same issue for the 64bit system and more than 4gb memory. With compiling htop for 64bit issue fixed.

Anze avatar Jul 15 '12 23:07 Anze