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.
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.