Forum Stats

  • 3,816,563 Users
  • 2,259,205 Discussions


JavaFX application crashes during a garbage collection

User_VGFGB Member Posts: 1 Green Ribbon
edited Mar 18, 2022 3:44PM in Java Programming

I have a JavaFX application that crashes once in a while during a GC. I can't consistently reproduce the crash. The hs err pid dump indicates the eden space is full. However, there is still plenty of memory available to the application. Was wondering if anyone has any insight into what cause this condition? This is the info from the hs err file:


 par new generation  total 996800K, used 996800K [0x0000000160000000, 0x00000001a3990000, 0x00000001a3990000)

 eden space 886080K, 100% used [0x0000000160000000, 0x0000000196150000, 0x0000000196150000)

 from space 110720K, 100% used [0x0000000196150000, 0x000000019cd70000, 0x000000019cd70000)

 to  space 110720K, 100% used [0x000000019cd70000, 0x00000001a3990000, 0x00000001a3990000)

 concurrent mark-sweep generation total 5133564K, used 2662469K [0x00000001a3990000, 0x00000002dcecf000, 0x00000007c0000000)

 Metaspace      used 47995K, capacity 49624K, committed 49700K, reserved 1093632K

 class space   used 6054K, capacity 6437K, committed 6440K, reserved 1048576K