TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How do you improve the performance of IntelliJ IDEs?

14 pointsby jameshiewover 3 years ago
Something I&#x27;ve tried recently is changing from the default Java 11 JetBrains runtime to Amazon Corretto 15. Start up is blazingly fast now and overall the IDE feels faster once running as well, though I haven&#x27;t profiled so that may just be an impression. There is a message when you go to change the runtime warning that you shouldn&#x27;t do it unless asked to do so by JetBrains support, but that seems overly conservative and this has been (I think) the biggest improvement in performance for my set up so far. Font rendering was much worse initially but after some tweaking of font settings it&#x27;s more than acceptable.<p>I&#x27;m also trying out using the Z garbage collector and setting the ratio of young to old generation to 1, as suggested here[1], as I often have multiple projects open at once. I&#x27;m not sure how much of an impact this is having though as I&#x27;m trying this all together, but the heap memory indicator does seem to fill up substantially more when indexing before a garbage collection happens.<p>[1]: https:&#x2F;&#x2F;www.jetbrains.com&#x2F;help&#x2F;idea&#x2F;tuning-the-ide.html#common-jvm-options

2 comments

the__alchemistover 3 years ago
I&#x27;m so sick of this. I understand that VsCode is popular, but for Python and Rust, Intellij&#x27;s management of multi-file projects, and code introspection is much nicer. But It&#x27;s almost daily PyCharm hard locks up for me, or uses most of my available ram.
gjvcover 3 years ago
I use these custom VM options. How do you change the JVM cleanly in a way which doesn&#x27;t confuse the toolbox app or launching machinery?<p><pre><code> -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockExperimentalVMOptions -XX:+UseZGC -XX:-UseG1GC -XX:NewRatio=1 -Xms4G -Xmx4G</code></pre>
评论 #28890100 未加载