Hi,

sometimes my geoserver crashes with this error:

Jun 07 08:49:35 user01 sh[27016]: java.lang.OutOfMemoryError: Java heap 
space
Jun 07 08:49:35 user01 sh[27016]: Dumping heap to java_pid27016.hprof ...
Jun 07 08:49:41 user01 sh[27016]: Heap dump file created [1725499167 
bytes in 5,339 secs]

I actually don't know why this happens but that's not the matter here.

The point is, when the OutOfMemoryError occurs, there's no exit code 
provided, so my systemd service does not restart the geoserver instance.

Is there any solution for this? Not sure if maybe the -XX:OnError option 
is the solution.

Thanks,


Volkan


------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to