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

XMLWordPrintable

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

      $ 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)

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

              Created:
              Updated:
              Resolved: