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

Update the memory options in docs makefile from -J-mx to -J-Xmx

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.3.0
    • docs
    • None
    • beta2
    • sparc
    • solaris_2.6

      It causes confusion that when javadoc runs out of memory, it says to
      use -J-Xmx, but the docs makefile itself uses -J-xm. Here is the error
      message:

      javadoc: java.lang.OutOfMemoryError: Please increase memory.
            For example, on the Sun Classic or HotSpot VMs, add the option -J-Xmx
            such as -J-Xmx32m.
            1 error

      The X is actually optional for backward compatibility reasons.
      (When calling java, the -J must be dropped)

      It would be clearer to add X throughout the docs makefile.

            dkramersunw Douglas Kramer (Inactive)
            dkramersunw Douglas Kramer (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: