Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-1237563

compiler runs out of memory for a class with 10,000 members

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.0
    • tools
    • None
    • sparc
    • solaris_2.4

      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.

            fyellinsunw Frank Yellin (Inactive)
            hwilliamsunw Headley Williamson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: