hishamhm / htop

htop is an interactive text-mode process viewer for Unix systems. It aims to be a better 'top'.
GNU General Public License v2.0
5.84k stars 581 forks source link

macOS htop crashes after about a day `Unable to get kinfo_procs: Cannot allocate memory` #963

Open dylanmc opened 4 years ago

dylanmc commented 4 years ago

macOS Catalina 10.15.1

Homebrew htop v2.2.0_1. After a day or so of happily htop-ping, my htop halts with the error message:

$ htop
Unable to get kinfo_procs: Cannot allocate memory

no other message or odd behavior. My system has 64GB of memory, and most of it is "inactive" according to htop, so it's not physical memory I'm running out of.

mlambie commented 4 years ago

I'm seeing the same behaviour, after a few hours: date && sudo htop; date Wed Nov 13 18:42:43 +08 2019 Password: Unable to get kinfo_procs: Cannot allocate memory Wed Nov 13 22:00:14 +08 2019

chouti commented 4 years ago

me too, several hours after just sudo htop

gnachman commented 4 years ago

Happened to me just a few seconds after starting it.

nevers commented 4 years ago

Same issue here. Happens quite frequent. Did recently upgrade to Catalina 10.15.2. Maybe that's related?

$ htop
Unable to get kinfo_procs: Cannot allocate memory
farshidhss commented 4 years ago

Same here, happens very often now!

johnhaitas commented 4 years ago

Same issue over here on Catalina

pedrodallav commented 4 years ago

Same issue here. Catalina 10.15.3

andersonreinkordt commented 4 years ago

Same on 10.15.4

trantrikien239 commented 4 years ago

Same on 10.15.4

rhazegh commented 4 years ago

htop 2.2.0

Happening on 10.15.4

jsatk commented 4 years ago

Happening for me as well.

htop 2.2.0 macOs 10.15.4

field-theory commented 4 years ago

Same for me. htop version 2.2.0 on macOS Catalina 10.15.4 Happens after "a while" -- which is about a couple of hours.

koziolk commented 4 years ago

Same here on macOS Catalina 10.15.4: Unable to get kinfo_procs: Cannot allocate memory

hwhh commented 4 years ago

+1 here

ymzkryo commented 4 years ago

Same here on macOS Catalina 10.15.4 and htop 2.2.0

Unable to get kinfo_procs: Cannot allocate memory

rastalamm commented 4 years ago

Same here:

Catalina - 10.15.5 htop - 2.2.0

Unable to get kinfo_procs: Cannot allocate memory

bitigchi commented 4 years ago

Same issue!

macOS - 10.15.5 htop - 2.2.0

snowinferno commented 4 years ago

Just started happening for me too

MacOS: 10.15.5 htop: 2.2.0

luigifcruz commented 4 years ago

I know Big Sur isn't supported yet but this is happening quite often in my laptop.

MacOS: 11.0 Beta 1 htop: 2.2.0

kc97ble commented 4 years ago

Same issue here. Catalina

ja-mf commented 4 years ago

Same issue, MacOS: 10.15.4, htop: 2.2.0

victor-ramos commented 4 years ago

+1, htop 2.2.0 - macOS Catalina 10.15.6

hsq-cernansky commented 4 years ago

One more. Immediate with sudo. Within minutes not using sudo.