-
Bug
-
Resolution: Fixed
-
P4
-
jfx17, jfx19
We occasionally get OOM errors while running PredefinedMeshManagerTest on some systems. Here is a recent example from our CI build:
PredefinedMeshManagerTest > sphereCacheTest FAILED
java.lang.OutOfMemoryError: Java heap space
at java.base/java.util.Arrays.copyOf(Arrays.java:3585)
at javafx.base@19-ea/com.sun.javafx.collections.ObservableIntegerArrayImpl.ensureCapacity(ObservableIntegerArrayImpl.java:254)
at javafx.base@19-ea/com.sun.javafx.collections.ObservableIntegerArrayImpl.setAllInternal(ObservableIntegerArrayImpl.java:131)
at javafx.base@19-ea/com.sun.javafx.collections.ObservableIntegerArrayImpl.setAll(ObservableIntegerArrayImpl.java:156)
at javafx.graphics@19-ea/javafx.scene.shape.Sphere.createMesh(Sphere.java:442)
at javafx.graphics@19-ea/javafx.scene.shape.PredefinedMeshManager.getSphereMesh(PredefinedMeshManager.java:119)
at javafx.graphics@19-ea/javafx.scene.shape.Sphere.doUpdatePeer(Sphere.java:188)
at javafx.graphics@19-ea/javafx.scene.shape.Sphere$1.doUpdatePeer(Sphere.java:66)
at javafx.graphics@19-ea/com.sun.javafx.scene.shape.SphereHelper.updatePeerImpl(SphereHelper.java:66)
at javafx.graphics@19-ea/com.sun.javafx.scene.NodeHelper.updatePeer(NodeHelper.java:103)
at test.javafx.scene.shape.PredefinedMeshManagerTest.testShapeAddition(PredefinedMeshManagerTest.java:49)
at test.javafx.scene.shape.PredefinedMeshManagerTest.sphereCacheTest(PredefinedMeshManagerTest.java:90)
PredefinedMeshManagerTest > sphereCacheTest FAILED
java.lang.OutOfMemoryError: Java heap space
at java.base/java.util.Arrays.copyOf(Arrays.java:3585)
at javafx.base@19-ea/com.sun.javafx.collections.ObservableIntegerArrayImpl.ensureCapacity(ObservableIntegerArrayImpl.java:254)
at javafx.base@19-ea/com.sun.javafx.collections.ObservableIntegerArrayImpl.setAllInternal(ObservableIntegerArrayImpl.java:131)
at javafx.base@19-ea/com.sun.javafx.collections.ObservableIntegerArrayImpl.setAll(ObservableIntegerArrayImpl.java:156)
at javafx.graphics@19-ea/javafx.scene.shape.Sphere.createMesh(Sphere.java:442)
at javafx.graphics@19-ea/javafx.scene.shape.PredefinedMeshManager.getSphereMesh(PredefinedMeshManager.java:119)
at javafx.graphics@19-ea/javafx.scene.shape.Sphere.doUpdatePeer(Sphere.java:188)
at javafx.graphics@19-ea/javafx.scene.shape.Sphere$1.doUpdatePeer(Sphere.java:66)
at javafx.graphics@19-ea/com.sun.javafx.scene.shape.SphereHelper.updatePeerImpl(SphereHelper.java:66)
at javafx.graphics@19-ea/com.sun.javafx.scene.NodeHelper.updatePeer(NodeHelper.java:103)
at test.javafx.scene.shape.PredefinedMeshManagerTest.testShapeAddition(PredefinedMeshManagerTest.java:49)
at test.javafx.scene.shape.PredefinedMeshManagerTest.sphereCacheTest(PredefinedMeshManagerTest.java:90)
- relates to
-
JDK-8283183 Skip failing PredefinedMeshManagerTest tests
- Resolved