• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Question Tomcat java.lang.OutOfMemoryError: Java heap space

AfterBit

New Pleskian
Hello,
plesk for linux and tomcat..

CPU : Intel(R) Xeon(R) CPU E5-26xx (Sandy Bridge) (4 core(s))
Version Plesk v12.5.30_build1205150826.19 os_Debian 8.0
OS Debian 8.4
Memory Usage
Total 15.71 GB
Used 2.19 GB

sometime i get the following error and my website go off line!
how can i resolve this? thanks!

error from catalina.out file :

Aug 01, 2016 11:43:46 AM com.sun.faces.context.ExceptionHandlerImpl log
1100: JSF1073: javax.faces.FacesException caught during processing of RENDER_RESPONSE 6 : UIComponent-ClientId=, Message=java.lang.OutOfMemoryError: Java heap space
Exception in thread "ajp-bio-127.0.0.1-9008-exec-27" java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:2367)
at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:130)
at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:114)
at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:415)
at java.lang.StringBuffer.append(StringBuffer.java:237)
at java.io.StringWriter.write(StringWriter.java:112)
at java.io.PrintWriter.write(PrintWriter.java:456)
at java.io.PrintWriter.write(PrintWriter.java:473)
at java.io.PrintWriter.print(PrintWriter.java:603)
at java.io.PrintWriter.println(PrintWriter.java:756)
at java.lang.Throwable$WrappedPrintWriter.println(Throwable.java:764)
at java.lang.Throwable.printEnclosedStackTrace(Throwable.java:697)
at java.lang.Throwable.printStackTrace(Throwable.java:667)
at java.lang.Throwable.printStackTrace(Throwable.java:721)
at java.util.logging.SimpleFormatter.format(SimpleFormatter.java:157)
at org.apache.juli.FileHandler.publish(FileHandler.java:198)
at java.util.logging.Logger.log(Logger.java:616)
at java.util.logging.Logger.doLog(Logger.java:641)
at java.util.logging.Logger.log(Logger.java:730)
at com.sun.faces.context.ExceptionHandlerImpl.log(ExceptionHandlerImpl.java:323)
at com.sun.faces.context.ExceptionHandlerImpl.handle(ExceptionHandlerImpl.java:152)
at javax.faces.context.ExceptionHandlerWrapper.handle(ExceptionHandlerWrapper.java:100)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:119)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:219)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:647)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
Exception in thread "ajp-bio-127.0.0.1-9008-exec-28" java.lang.OutOfMemoryError: Java heap space
Exception in thread "ajp-bio-127.0.0.1-9008-exec-22" java.lang.OutOfMemoryError: Java heap space
Exception in thread "ajp-bio-127.0.0.1-9008-exec-32" java.lang.OutOfMemoryError: Java heap space
Exception in thread "ajp-bio-127.0.0.1-9008-exec-21" java.lang.OutOfMemoryError: Java heap space
Exception in thread "ajp-bio-127.0.0.1-9008-exec-36" java.lang.OutOfMemoryError: Java heap space
Exception in thread "ajp-bio-127.0.0.1-9008-exec-38" java.lang.OutOfMemoryError: Java heap space
Exception in thread "ajp-bio-127.0.0.1-9008-exec-39" Exception in thread "ajp-bio-127.0.0.1-9008-exec-10" java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
Exception in thread "ajp-bio-127.0.0.1-9008-exec-35" java.lang.OutOfMemoryError: Java heap space
Exception in thread "ajp-bio-127.0.0.1-9008-exec-41" Exception in thread "ajp-bio-127.0.0.1-9008-exec-40" java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
 
ok thanks... i've seen the link..
plesk does not have a java profiler?.. if not.. could you help me to understand how to install a java profiler under plesk?
 
Back
Top