20

Getting "file x.java is too large for IntelliJ Idea editor" after trying to open a web service stub class that is generated for Axis 2.

I saw a post associated about this issue which says change the

idea.max.intellisense.filesize=2500

in idea.properties.

But this trick didn't work for me despite I increased the value enough. Also I tried to comment out it for disabling this feature; but it didn't work too..

2
  • 2
    Any solution ever found for this problem? Running into the same error myself. I even set the file to be plain text and it still won't open.
    – joe
    Commented Jan 18, 2013 at 18:37
  • no solution is found; seems it's not supported yet despite this parameter.
    – talha06
    Commented Mar 1, 2013 at 22:45

3 Answers 3

11

Nowadays the setting

idea.max.intellisense.filesize=50000

works perfectly for me and lets me open files of up to 50M size.

8

If you just want IntelliJ to open the full file instead of truncating it, use this:

idea.max.content.load.filesize=500000 #500MB
6

My issue is that the file was > 20mb. See this link: http://youtrack.jetbrains.com/issue/IDEA-85045

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.