Reputation: 1994
I have a need to open a 5500 line long code file in Intellij (before you ask, not my code, can't refactor now).
While the file is open the whole IDE becomes sluggish and nothing wants to respond without a delay of 3 seconds. It is quite annoying to debug like this.
Is there a specific tune geared towards improving it's handling of super large files? I mean Excel can open 65000 row file, why can't IntelliJ handle 10% of that?
Upvotes: 1
Views: 2765
Reputation: 16401
Allocate more memory to IDEA process by setting bigger -Xmx
value in .vmoptions
file (via Help | Edit Custom VM Options action). Also you can mark the file as a plain text for IDE not to analyze it, or set highlighting level for this file to just syntax.
Upvotes: 2