compiler runs out of memory for a class with 10,000 members
I get the following errors at compile time:
java.lang.OutOfMemoryError: java.io.DataOutputStream
at sun.tools.javac.SourceClass.compileClass(SourceClass.java:706)
at sun.tools.javac.SourceClass.compile(SourceClass.java:527)
at sun.tools.javac.Main.compile(Main.java:193)
at sun.tools.javac.Main.main(Main.java:289)
error: An error has occurred in the compiler; please file a bug report (###@###.###).
1 error
TEST CASE
---------
There are two attachments for this bug.
I get the following errors at compile time:
java.lang.OutOfMemoryError: java.io.DataOutputStream
at sun.tools.javac.SourceClass.compileClass(SourceClass.java:706)
at sun.tools.javac.SourceClass.compile(SourceClass.java:527)
at sun.tools.javac.Main.compile(Main.java:193)
at sun.tools.javac.Main.main(Main.java:289)
error: An error has occurred in the compiler; please file a bug report (###@###.###).
1 error
TEST CASE
---------
There are two attachments for this bug.
- duplicates
-
JDK-1237562 compiler runs out of memory for a class with 10000 members
-
- Closed
-
-
JDK-1237579 compile core dumps when trying to compile 1000 deep inheritance tree
-
- Closed
-