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

GC tests fail with "There is insufficient memory for the Java Runtime Environment to continue"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • None
    • 11
    • hotspot
    • None
    • gc
    • x86_64
    • windows

      gc/arguments/TestArrayAllocatorMallocLimit.java fails with the following error

      #
      # There is insufficient memory for the Java Runtime Environment to continue.
      # Native memory allocation (mmap) failed to map 1019215872 bytes for Failed to commit area from 0x0000000437400000 to 0x0000000474000000 of length 1019215872.
      # An error report file with more information is saved as:
      # T:\\testoutput\\jtreg\\JTwork\\scratch\\0\\hs_err_pid8832.log
      Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000437400000, 1019215872, 0) failed; error='The paging file is too small for this operation to complete' (DOS error/errno=1455)
      Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000437400000, 1019215872, 0) failed; error='The paging file is too small for this operation to complete' (DOS error/errno=1455)

      java.lang.RuntimeException: Couldn't find size_t flag ArrayAllocatorMallocLimit: expected null to not equal null
      at jdk.test.lib.Asserts.fail(Asserts.java:594)
      at jdk.test.lib.Asserts.assertNotEquals(Asserts.java:394)
      at jdk.test.lib.Asserts.assertNotNull(Asserts.java:437)
      at TestArrayAllocatorMallocLimit.testDefaultValue(TestArrayAllocatorMallocLimit.java:60)
      at TestArrayAllocatorMallocLimit.main(TestArrayAllocatorMallocLimit.java:43)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:569)
      at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:229)
      at java.base/java.lang.Thread.run(Thread.java:832)

      JavaTest Message: Test threw exception: java.lang.RuntimeException
      JavaTest Message: shutting down test

            sjohanss Stefan Johansson
            skonchad Sandeep Konchady
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: