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

Kestrel:javadoc: java.lang.OutOfMemoryError in Solaris Japanese

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • 1.3.0
    • tools

      Kestrel fcs_T

      Solaris2.6, 7, 8 / Japanese Locale

      Generating API document, java.lang.OutOfMemoryError occurred and
      the error message said like below;
      javadoc: java.lang.OutOfMemoryError:increase memory
      Specify a option -J-Xmx like -J-Xmx32m

      This was produced in excuting javadoc command below;

      [tokunaga@koala]:/import/near/Duke/jdk1.3/ws/kestrel_src_ws/src/share/classes>ja
      vadoc -d /home/tokunaga/test/DebugGraphics_T -use javax.swing.DebugGraphics

      Add the option "-J-Xmx128m" to the command as the error message said, OutOfMemoryError did not occur and generates API document successfully.

      With kestrel Beta this is not reproducible.
      Without "-J-Xmx128m" javadoc generates API document successfully.

      Tested in C Locale with fcs_T build, this is not reproducible and API document was generated successfully.
      [tokunaga@koala]:/import/near/Duke/jdk1.3/ws/kestrel_src_ws/src/share/classes>env LANC=C javadoc -d /home/tokunaga/test/DebugGraphics_T -use javax.swing.DebugGraphics



      ***To reproduce***
      Please excute javadoc command like above under the proper directory.


      ***NOTE***
      copying the dicecoty
      /import/near/Duke/jdk1.3/ws/kestrel_src_ws/src/share/classes/javax/swing
      to my home direcoty and tested the same command as follows,

      [tokunaga@koala]:/home/tokunaga/test/classes/javax/>cp -r /import/near/Duke/jdk1.3/ws/kestrel_src_ws/src/share/classes/javax/swing .
      [tokunaga@koala]:/home/tokunaga/test/classes/>ja
      vadoc -d /home/tokunaga/test/DebugGraphics_T -use javax.swing.DebugGraphics

      No error occured and the command end successfully.

            rfield Robert Field (Inactive)
            mmtokunasunw Mtokunaga Mtokunaga (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: