I have a problem with a very large java source file (45k lines, 2.2MB). Although the compiler considers it as a java file and compiles it, the interface does not. All code references to this class and imports are in red, and the project explorer tree displays it as a regular file, with the ".java" extension (i.e. "String.java" instead of just "String"), and it has an icon with a "j" drawn on it, instead of the regular class icon (see attached picture). Needless to say, these errors also appear at commit, if code analysis is checked.
So my question is how does IDEA handle very large java sources? Could size be the problem?
Windows XP SP3
Project JDK: Sun JVM 1.6.20 32-bit