[GeoNetwork-users] Java heap size for Geonetwork

Hi,

We have configured metadata catalogue which is now functioning. But sometimes we experienced it was running very slow when editing metadata. Indeed, Tomcat service was using 100% of CPU memory. Once it was enough to exit edit mode to return to normal CPU usage, another time Tomcat service needed to be restarted. It was also impossible to delete some saved metadata records. When delete icon is clicked Geonetwork pops up with "Self-suppression not permitted" or "Java heap space" messages.

Increasing Tomcats Initial memory pool to 256M and Maximum memory pool to 2048M seems to solve the problem, catalogue runs more smooth (our system is Windows Server 2012 Standard 64bit, 5,45 GB of RAM, JDK 8, 64bit JVM, Tomcat 9.0).

Values 256 and 2048 are quite random, I did not find any recommendations on memory pool values in the documentation.

What is other users experience? What Java heap size values you use to run Geonetwork smoothly?

Do you have any other recommendations for configuring Java and Tomcat to run Geonetwork with the best performance?

Kind regards,
Andžej Miloš
GIS application developer
Tel.: +358 40 628 1869; Skype: helcom88
E-mail: andzej.milos@anonymised.com<mailto:andzej.milos@anonymised.com>
[cid:image001.png@anonymised.com]
Baltic Marine Environment Protection Commission
Katajanokanlaituri 6 B, FI-00160 Helsinki, Finland
www.helcom.fi<http://www.helcom.fi/&gt;
[Facebook]<http://www.facebook.com/helcominfo&gt; [Twitter] <https://twitter.com/helcominfo&gt;

(attachments)

image001.jpg
image002.png
image003.jpg

Hi Andžej

We have a very similar setup, windows server 2012, JDK8, Tomcat 8.5, and we
had to re adjust our memory pool as well as we too were experiencing those
same issues. Currently our values are 300mb for Initial and 1500mb for
maximum. We are still in the testing phase but I've been slowly raising up
the maximum as we add more records and functionalities. Not sure if there is
a recommended value more what works best for each environment and tinkering
to find the optimal values.

Hope that's helpful
Kevin

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Java-heap-size-for-Geonetwork-tp5302727p5302851.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.