java.lang.OutOfMemoryError: Java heap space

java.lang.OutOfMemoryError: Java heap space

Can anybody tell me how to increase the virtual memory allocated to Support Center Plus. I have run into the following error when trying to upload a 150MB file to a new soltion. I have found on the internet that this can typically be corrected by increasing the amount of virtual memory with the java -xmx -xms command variables when launching your applications. Can anybody confirm this or tell me how to solve this issue.






HTTP Status 500 -

--------------------------------------------------------------------------------

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Java heap space
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758)
org.apache.jsp.workorder.Attachment_jsp._jspService(Attachment_jsp.java:558)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
com.adventnet.servicedesk.filter.EncodingFilter.doFilter(EncodingFilter.java:66)
com.adventnet.authentication.ContextChangeDetector.doFilter(ContextChangeDetector.java:100)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)


root cause

java.lang.OutOfMemoryError: Java heap space


note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.


--------------------------------------------------------------------------------

Apache Tomcat/5.0.28







































                  New to ADSelfService Plus?