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

Error occurred during initialization of VM if -Xmx biggest that system limit (ulimit -v)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: hs24
    • Fix Version/s: None
    • Component/s: hotspot

      Description

      $ ulimit -v
      4892480
      $ ./java -server -Xmx5g -version
      Error occurred during initialization of VM
      Could not reserve enough space for object heap 1178599424 bytes

      $ ulimit -v
      4892480
      $ ./java -server -Xmx4892480 -version
      java version "1.8.0-internal-fastdebug"
      Java(TM) SE Runtime Environment (build 1.8.0-internal-fastdebug-201301181518.amurillo.hs25-b16-jdk8-b74--b00)
      Java HotSpot(TM) 64-Bit Server VM (build 25.0-b16-fastdebug, mixed mode)

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            iignatyev Igor Ignatyev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: