-
Bug
-
Resolution: Fixed
-
P4
-
20, 21
-
b04
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8299573 | 17.0.7-oracle | Ramesh Gangadhar | P4 | Resolved | Fixed | b01 |
JDK-8300045 | 17.0.7 | Matthias Baesken | P4 | Resolved | Fixed | b01 |
The test java/util/regex/NegativeArraySize.java seems to have high memory requirements, and these requirements lead to some errors.
On Alpine Linux we run regularly into this error when executing the test:
result: Failed. Unexpected exit from test [exit code: 137]
This seems to be OOM related.
Maybe we should avoid running the test on Alpine.
On Windows the test usually works, but seems to depend as well on the memory situation of the machine.
Once we got this error recently :
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000006c0000000, 5368709120, 0) failed; error='The paging file is too small for this operation to complete' (DOS error/errno=1455)
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000006c0000000, 5368709120, 0) failed; error='The paging file is too small for this operation to complete' (DOS error/errno=1455)
result: Failed. Unexpected exit from test [exit code: 1]
The hs_err file generated showed :
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 5368709120 bytes for G1 virtual space
# Possible reasons:
# The system is out of physical RAM or swap space
# The process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap
On Alpine Linux we run regularly into this error when executing the test:
result: Failed. Unexpected exit from test [exit code: 137]
This seems to be OOM related.
Maybe we should avoid running the test on Alpine.
On Windows the test usually works, but seems to depend as well on the memory situation of the machine.
Once we got this error recently :
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000006c0000000, 5368709120, 0) failed; error='The paging file is too small for this operation to complete' (DOS error/errno=1455)
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000006c0000000, 5368709120, 0) failed; error='The paging file is too small for this operation to complete' (DOS error/errno=1455)
result: Failed. Unexpected exit from test [exit code: 1]
The hs_err file generated showed :
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 5368709120 bytes for G1 virtual space
# Possible reasons:
# The system is out of physical RAM or swap space
# The process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap
- backported by
-
JDK-8299573 java/util/regex/NegativeArraySize.java fails on Alpine and sometimes Windows
-
- Resolved
-
-
JDK-8300045 java/util/regex/NegativeArraySize.java fails on Alpine and sometimes Windows
-
- Resolved
-
- links to
-
Commit openjdk/jdk17u-dev/f8a84174
-
Commit openjdk/jdk/c2e3d728
-
Review openjdk/jdk17u-dev/1050
-
Review openjdk/jdk/11796
(1 links to)