What to set for JVM heap memory for tomcat

443 Views Asked by At

I am using Jpedal tool to convert PDF to Image. In general this is working, however once in a while during converting large number of PDF pages into images it causes the application and tomcat to stop without any information or logs. Seems it's Out of Memory Error without any logs. I have increased JVM heap memory for tomcat as below :

-Xms2048m -Xmx4096m -XX:MaxPermSize=1024m"

But still it causes tomcat to stop. Can anyone please help for the same.

0

There are 0 best solutions below