aristocratos / btop

A monitor of resources
Apache License 2.0
21.37k stars 655 forks source link

Infinite memory usage glitch. (Display bug, not a btop memory leak). #817

Open p7r0x7 opened 7 months ago

p7r0x7 commented 7 months ago

Describe the bug

Screenshot 2024-04-11 at 6 12 05 PM

7 minutes later...

Screenshot 2024-04-11 at 6 18 54 PM

To Reproduce

On macOS (via the homebrew keg), if you set the proc section to tree and collapse launchd, the memory usage reported by btop escalates dramatically into perpetuity. My 8GB machine is doing just fine reporting 70T of active memory usage (which it also reports as only 900% percent utilization).

Closing and restarting btop yields an identical outcome, with the fictitious number not persisting between program instances.

btop++ v1.3.2

pnwatin commented 7 months ago

Probably related to #526. I have the same bug in the same version (v1.3.2) It doesn't happen before triggering the tree view and it seems to only affect launchd

EDIT: this bug doesn't occur when Proc aggregate option is set to False

lbonvarl commented 5 months ago

Reproduced also on MacM1 vtop v1.3.2 current OS. Even with Proc aggregate set to false but looking at the process tree iterm2 folded.