My Hippo application is failing mostly when making a connection with my database with GC overhead limit exceeded and sometimes with below error.
javax.jcr.RepositoryException: unchecked exception: java.lang.OutOfMemoryError: Java heap space
I tried to clean up my backend as much as possible. I know that the garbage collector is taking an excessive amount of time and recovers very little memory in each run. So I need to update my heap size and also can use -XX:-UseGCOverheadLimit to turn that off.
But how to do that on a Hippo application? Where and how to add heap parameters(Xms & Xmx)?
FYI. M using hippo's inbuilt tomcat server.
Any help would be much appreciated. Thanks.