Ticket #212 (closed defect: fixed)
JRE/JDK > 1.6.0_17/6u17 consumes all memory before killing geonetwork with java.lang.OutOfMemoryError
|Reported by:||simonp||Owned by:||simonp|
Reported by Rik Hendrix:
On a test server, I'm running Geonetwork on JRE version 6u17 (=1.6.0_17) for several months without stability problems.
Last week I upgraded JRE to 6u19. Geonetwork started crashing every few minutes. Did the same upgrade on another server, same result. Downgraded to 6u17, problem solved. This week I upgraded to 6u20, same problem as 6u19.
Apparently there is a memory leak:
# # A fatal error has been detected by the Java Runtime Environment: # # java.lang.OutOfMemoryError?: requested 1073741832 bytes for Chunk::new. Out of swap space? # # Internal Error (allocation.cpp:215), pid=3248, tid=2335914912 # Error: Chunk::new # # JRE version: 6.0_20-b02 # Java VM: Java HotSpot?(TM) Server VM (16.3-b01 mixed mode linux-x86 )
For more details see attachment.
When changing Xmx from 512m to 1024m, Geonetwork stays up and running a few minutes longer, but still crashes after a while.
Did someone notice this behavior already?