Understand High memory usage of Intellij in Mac
Answered
Intellij shows 5GB memory usage in Activity Monitor while my 3 instances only show 500MB each.
Where exactly does this memory go? Is there a way to fine tune this.
Thats my intellij configuration:
IntelliJ IDEA 2020.2.3 (Ultimate Edition)
Build #IU-202.7660.26, built on October 6, 2020
Runtime version: 11.0.8+10-b944.34 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 10.15.7
GC: ParNew, ConcurrentMarkSweep
Memory: 1979M
Cores: 12
Non-Bundled Plugins: PlantUML integration, Lombook Plugin, com.dubreuia, org.jetbrains.plugins.ruby, com.amazon.ijbp
I am using MacOS Catalina (10.15.7)
Please sign in to leave a comment.
Hi Mukul,
What is the contents of your .vmoptions file? (Help | Edit Custom VM Options)
The IDE itself can't consume more than the -Xmx value. Memory usage in the OS task manager normally differs from that of a Java application. OS Task Manager is reporting the overall memory used by a Java process, which consists of Java application heap + JVM resources + whatever else, it is a native OS process vs. Java application running in JVM.