chadtree icon indicating copy to clipboard operation
chadtree copied to clipboard

suspect this plugin consumes all RAM

Open iledarn opened this issue 3 years ago • 1 comments

I constantly run out of RAM using this plugin, my laptop freeze. Once it stopped working suddenly with some kind of error I don't remember now - I've noticed that my RAM is available now and a lot

iledarn avatar Nov 04 '22 04:11 iledarn

For the last few days my laptop battery was draining too fast. Some basic testing showed that just opening nvim would start a python process that had almost constant 40% Apple M1 CPU usage (while dipping down to 25% at times). In terms of instructions per second, it was consistently more than 6 billion ARM instructions per second, and had spawned 15 threads. Turned out it was chadtree... That was at commit ada6f02d63c2420aa5f3173ae5fe74fa41d9fbb8 (two weeks ago from this comment). After updating chadtree, it went away. I went back to commit ada6f02d63c2420aa5f3173ae5fe74fa41d9fbb8 to see if the same issue would show up again, it didn't. I would guess this chadtree has some dependency that fixed something or over time chadtree accumulates some junk to hog more CPU. If it is the latter, it can only be known over time... Unless @ms-jpq can be of help here. Her git commit messages are not helpful, and one cannot know what fixes are being made. See the attached sample git log of this project:

Screenshot 2022-12-16 at 9 25 16 PM

poetaman avatar Dec 17 '22 05:12 poetaman