(Not a duplicate, i've searched everywhere) I am using Ubuntu server and Tomcat7 gave a PemGenError out of memory. Then i increased the memory in setenv.sh file using export CATALINA_OPTS="Xms2048M -Xmx2048M"
. Error disappeared for awhile. But now its appearing again.
- I am using Tomcat for OpenMRS.
- Pretty sure it doesn't take that much memory.
- I am running OpenMRS in my laptop fine without allocating this much memory.
Any solution to this?