Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JavaFX application crashes during a garbage collection

User_VGFGBMar 17 2022 — edited Mar 18 2022

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:
Heap:
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

Comments

Post Details

Added on Mar 17 2022
0 comments
139 views