Human Resources and ELM - PSFT (MOSC)

MOSC Banner

JavaFX application crashes during GC.

edited Mar 30, 2022 3:30PM in Human Resources and ELM - PSFT (MOSC) 1 commentAnswered

I have a Java FX application that crashes sometimes during a garage collection. It's not consistently reproducible. This is from the hs_err_pid 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

Looks like the eden space is full. The intial heap size is set to 6 gigs, with a max of 27 gigs. Should I increase the initial heap size or would that just be a bandage for a bigger problem?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center