vektah / CodeGlance

Intelij IDEA plugin for displaying a code mini-map similar to the one found in Sublime
BSD 2-Clause "Simplified" License
1.06k stars 104 forks source link

Many nodejs processes spawned using up all system memory #235

Open jacobbuck72 opened 5 years ago

jacobbuck72 commented 5 years ago

When opening a TypeScript file the TypeScript Service starts and spawns at least one nodejs process. The last week I've noticed that up to 5-10 processes were started and they keep growing in memory usage using up all physical memory and then using swap disk until it's used 30-40 GB causing my MacBookPro to freeze and eventually reboot - only to restart IntelliJ at the same point and again starting node processes.

I've been searching high and low for the cause and thought it was a problem with the NodeJs plugin or the version of Node. But when I finally disabled the CodeGlance plugin and restarted IntelliJ the problem went away.

I'm using IntelliJ IDEA ULTIMATE 2019.2 - but had the problem also with 2019.1. NodeJS 12.8.1 as well as 12.5.0 tested.