htop icon indicating copy to clipboard operation
htop copied to clipboard

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

Open dylanmc opened this issue 4 years ago • 23 comments

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.

dylanmc avatar Nov 04 '19 21:11 dylanmc

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

mlambie avatar Nov 14 '19 02:11 mlambie

me too, several hours after just sudo htop

chouti avatar Dec 17 '19 08:12 chouti

Happened to me just a few seconds after starting it.

gnachman avatar Jan 03 '20 07:01 gnachman

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

nevers avatar Jan 29 '20 13:01 nevers

Same here, happens very often now!

farshidhss avatar Feb 03 '20 08:02 farshidhss

Same issue over here on Catalina

johnhaitas avatar Feb 20 '20 00:02 johnhaitas

Same issue here. Catalina 10.15.3

pedrodallav avatar Mar 16 '20 13:03 pedrodallav

Same on 10.15.4

andersonreinkordt avatar Apr 07 '20 22:04 andersonreinkordt

Same on 10.15.4

trantrikien239 avatar Apr 08 '20 02:04 trantrikien239

htop 2.2.0

Happening on 10.15.4

rhazegh avatar Apr 22 '20 02:04 rhazegh

Happening for me as well.

htop 2.2.0 macOs 10.15.4

jsatk avatar Apr 27 '20 22:04 jsatk

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.

field-theory avatar May 06 '20 07:05 field-theory

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

koziolk avatar May 13 '20 06:05 koziolk

+1 here

hwhh avatar May 21 '20 23:05 hwhh

Same here on macOS Catalina 10.15.4 and htop 2.2.0

Unable to get kinfo_procs: Cannot allocate memory

ymzkryo avatar May 22 '20 04:05 ymzkryo

Same here:

Catalina - 10.15.5 htop - 2.2.0

Unable to get kinfo_procs: Cannot allocate memory

rastalamm avatar Jun 09 '20 13:06 rastalamm

Same issue!

macOS - 10.15.5 htop - 2.2.0

bitigchi avatar Jun 22 '20 12:06 bitigchi

Just started happening for me too

MacOS: 10.15.5 htop: 2.2.0

snowinferno avatar Jun 22 '20 16:06 snowinferno

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

luigifcruz avatar Jun 29 '20 08:06 luigifcruz

Same issue here. Catalina

kc97ble avatar Jul 02 '20 04:07 kc97ble

Same issue, MacOS: 10.15.4, htop: 2.2.0

ja-mf avatar Aug 11 '20 04:08 ja-mf

+1, htop 2.2.0 - macOS Catalina 10.15.6

victor-ramos avatar Aug 14 '20 20:08 victor-ramos

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

hsq-cernansky avatar Aug 31 '20 22:08 hsq-cernansky