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

TEST_BUG: closed/compiler/6321689/Test.java fails with OOM with 64-bit jvm with non-Parallel GCs

XMLWordPrintable

    • b01
    • generic
    • generic
    • Not verified

        closed/compiler/6321689/Test.java fails with
        "java.lang.OutOfMemoryError: Java heap space" with 64-bit jvm in case non-Parallel GCs are used.

        The problem is that the test requires about 100M to run.
        However, the default heap size in case of non-parallel GC is set to 84Mb
        (you can attach jmap to see it).
        The default heap size for Parallel GCs is calculated based on amount of available RAM,
        so in case of 2Gb the max heap size is set to 512 Mb.
        This is why the test doesn't fail with Parallel GCs.

        The test needs to be adjusted to run with all collectors or default max heap size
        for server-class machines need to be rethinking for non-parallel GCs.

              rasbold Chuck Rasbold
              epavlova Ekaterina Pavlova
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: