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

1.5.0_24 heap generation size calculation problem

    XMLWordPrintable

    Details

    • Subcomponent:
      gc
    • Resolved In Build:
      b07
    • CPU:
      sparc
    • OS:
      solaris, solaris_7
    • Verification:
      Verified

      Backports

        Description

        It seems that with 1.5.0_24 (not on 6uXX) there is a heap generation size calculation issue with either of the following commands.

        java -Xmx2048m -Xms2048m -XX:PermSize=512m -XX:NewSize=400m -version
        java -Xmx2048m -Xms2048m -XX:PermSize=512m -XX:NewSize=400m -XX:MaxNewSize=800m -version

        Error output:
        Error occurred during initialization of VM
        Could not reserve enough space for object heap

        Strangely, this command works fine:
        java -Xmx2048m -Xms2048m -XX:PermSize=512m -XX:NewSize=400m -XX:MaxNewSize=400m -version

        All three commands work in JDK 6. It seems that in 1.5.0_24 it cannot handle a MaxNewSize bigger than NewSize?

        See comments.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                poonam Poonam Bajaj Parhar
                Reporter:
                kevibrow Kevin Brown
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: