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

Intermittent OOM error in PredefinedMeshManagerTest

XMLWordPrintable

      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)

            arapte Ambarish Rapte
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: