-
Bug
-
Resolution: Unresolved
-
P3
-
None
-
24
----------System.out:(1/43)----------
Allocating all the direct memory: 52428800
----------System.err:(12/1058)----------
gc.memory.Nio.Nio$Fault: Unexpected OOME during the first allocation java.lang.OutOfMemoryError: Cannot reserve 52428800 bytes of direct buffer memory (allocated: 8192, limit: 52428800)
at gc.memory.Nio.Nio.run(Nio.java:81)
at gc.memory.Nio.Nio.main(Nio.java:61)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:573)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1576)
It looks like a recent change has caused 8K to already be allocated.
- relates to
-
JDK-8340946 Add vmTestbase/gc/memory/Nio/Nio.java and java/nio/Buffer/LimitDirectMemory.java to problem list
- Resolved
-
JDK-8342850 Change ProblemList to have LimitDirectMemory refer to JDK-8342849
- Resolved
-
JDK-8342849 (bf) java/nio/Buffer/LimitDirectMemory.java fails with OutOfMemoryError
- Open
-
JDK-8344882 (bf) Temporary direct buffers should not count against the upper limit on direct buffer memory
- In Progress
-
JDK-8319332 Security properties files inclusion
- Resolved
-
JDK-8249549 vmTestbase/gc/memory/Nio/Nio.java assume that no direct memory is allocated by JDK
- Closed
- links to
-
Review(master) openjdk/jdk/21623