• Post Reply Bookmark Topic Watch Topic
  • New Topic

OutOfMemoryError

 
Ahmed Barradah
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am developing a JSF application where I have a login page that authinticates the users and allow them to look into a DB(Oracle) and then execute some Perl Scripts on the backend and then present the output using <dataTable> However, lately I have been getting the outofMemory message alot and I don't know what am I getting for? and what should I do about it

Here is what I am getting:

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

exception

javax.servlet.ServletException: javax.servlet.jsp.JspException: null
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:842)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:779)
org.apache.jsp.pages.seisPMFiles_jsp._jspService(seisPMFiles_jsp.java:204)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)


root cause

java.lang.OutOfMemoryError


Any help is appreciated it !!

Regards,
Ahmed
 
Adam Mazurek
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should use some profiler and see what is going on inside Your application. I think the other solution is to start Your application server with some extra parameters for JVM.
 
Richard Green
Ranch Hand
Posts: 536
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
did u have a look at this line?

org.apache.jsp.pages.seisPMFiles_jsp._jspService(seisPMFiles_jsp.java:204)


u can find the seisPMFiles_jsp.java file in the work folder under tomcat (if you are using tomcat)
 
Tim Holloway
Bartender
Posts: 18414
58
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What application server are you using? You might need to check with one of the product-specific forums, since this probably is a resource issue rather than a JSF problem.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!