I have idea ultimate
IntelliJ IDEA 2019.2.4 (Ultimate Edition)
Build #IU-192.7142.36, built on October 29, 2019
Licensed to Bootstrap Styled / Dimitri Kopriwa
Subscription is active until October 12, 2020
Runtime version: 11.0.4+10-b304.77 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 5.3.0-0.bpo.2-amd64
GC: ParNew, ConcurrentMarkSweep
Memory: 1896M
Cores: 8
Registry:
Non-Bundled Plugins: Lombook Plugin, net.ashald.envfile, cn.wuzhizhan.plugin.mybatis, ru.adelf.idea.dotenv
When I work with multiple windows/workspace, it often gets slow to index, then become stuck or I have to wait forever.
I work with
- npm
- java
Both needs to reindex when I clean for the first with rm -rf node_modules && npm i
and the second when I upgrade a dependency.
I also do local link in my nodes project, and sometimes it install in chain.
- I have read https://www.jetbrains.com/help/idea/increasing-memory-heap.html and
- https://www.jetbrains.com/help/idea/tuning-the-ide.html
Documentation says default -Xmx is 2048
, while /opt/idea-latest/bin/idea64.vmoptions
was set to Xmx 700mb
- Why such difference and which one should I trust?
- I have increased this value to 8GB, I have 16GB, is it wise?
- Is there anything I can tune in order to get my IDEA work properly with multiple windows/workspace