Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting ot of memory Error while running on websphere

 
Sowrabha
Greenhorn
Posts: 17
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am gettng the exception while running on the server in Websphere
java.rmi. remote Exception ; ; Nested Exception is
java.lang.Out of memory Error.
Please help.
 
Thejaswi Narayana
Greenhorn
Posts: 27
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Can u provide the stack trace and information on what u are trying to do which is causing the exception.
 
Sowrabha
Greenhorn
Posts: 17
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what does this mean?
ExceptionUtil E CNTR0020E: Non-application exception.which is mentioned.



2/8/05 12:10:11:446 GMT+05:30] 4e83d40c RequestProces I org.apache.struts.action.RequestProcessor Processing a 'GET' for path '/LoanAmendSearch'
[2/8/05 12:10:12:196 GMT+05:30] 4e83d40c SystemOut O The current mode isaccountSearch
[2/8/05 12:10:12:196 GMT+05:30] 4e83d40c SystemOut O in if block
[2/8/05 12:10:12:196 GMT+05:30] 4e83d40c SystemOut O It is in the outer COMMON SEARCH LOOP
[2/8/05 12:10:12:196 GMT+05:30] 4e83d40c SystemOut O in accountSearch
[2/8/05 12:10:14:196 GMT+05:30] 4e83d40c SystemOut O Inside Session impl Searchmethod!!!
[2/8/05 12:10:14:196 GMT+05:30] 4e83d40c SystemOut O Inside Session impl Searchmethod After getDataAcces!!!
[2/8/05 12:10:19:009 GMT+05:30] 7a54d425 ExceptionUtil E CNTR0020E: Non-application exception occurred while processing method "searchMakerAccounts" on bean "BeanId(LoanAmendSearch#LoanAmendSearchEJB.jar#LoanAmendSearch, null)". Exception data: java.lang.OutOfMemoryError

[2/8/05 12:10:39:009 GMT+05:30] 7a54d425 LocalTransact E WLTC0017E: Resources rolled back due to setRollbackOnly() being called.
[2/8/05 12:10:40:916 GMT+05:30] 7a54d425 SystemOut O In Remote Exception of delegateclass
[2/8/05 12:10:40:931 GMT+05:30] 7a54d425 SystemOut O in action class Sys exception
[2/8/05 12:10:40:931 GMT+05:30] 7a54d425 SystemErr R com.rak.loans.core.exception.RAKSysException
[2/8/05 12:10:40:931 GMT+05:30] 7a54d425 SystemErr R at com.rak.loans.amend.web.delegate.LoanAmendSearchDelegate.searchMakerAccounts(LoanAmendSearchDelegate.java:77)
[2/8/05 12:10:40:931 GMT+05:30] 7a54d425 SystemErr R at com.rak.loans.amend.web.action.LoanAmendSearchAction.execute(LoanAmendSearchAction.java:124)
[2/8/05 12:10:43:822 GMT+05:30] 7a54d425 SystemErr R at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:465)
[2/8/05 12:10:43:822 GMT+05:30] 7a54d425 SystemErr R at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
[2/8/05 12:10:43:822 GMT+05:30] 7a54d425 SystemErr R at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1422)
[2/8/05 12:10:43:822 GMT+05:30] 7a54d425 SystemErr R at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:505)
[2/8/05 12:10:43:822 GMT+05:30] 7a54d425 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
[2/8/05 12:10:43:822 GMT+05:30] 7a54d425 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
[2/8/05 12:10:43:822 GMT+05:30] 7a54d425 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
[2/8/05 12:10:43:822 GMT+05:30] 7a54d425 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
[2/8/05 12:10:43:822 GMT+05:30] 7a54d425 SystemErr R at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
[2/8/05 12:10:43:822 GMT+05:30] 7a54d425 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
[2/8/05 12:10:43:822 GMT+05:30] 7a54d425 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:258)
[2/8/05 12:10:43:853 GMT+05:30] 7a54d425 SystemErr R at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
[2/8/05 12:10:43:853 GMT+05:30] 7a54d425 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
[2/8/05 12:10:43:853 GMT+05:30] 7a54d425 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:872)
[2/8/05 12:10:43:853 GMT+05:30] 7a54d425 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:491)
[2/8/05 12:10:43:853 GMT+05:30] 7a54d425 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:173)
[2/8/05 12:10:43:853 GMT+05:30] 7a54d425 SystemErr R at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79)
[2/8/05 12:10:43:869 GMT+05:30] 7a54d425 SystemErr R at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:199)
[2/8/05 12:10:43:869 GMT+05:30] 7a54d425 SystemErr R at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
[2/8/05 12:10:43:900 GMT+05:30] 7a54d425 SystemErr R at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
[2/8/05 12:10:43:900 GMT+05:30] 7a54d425 SystemErr R at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:331)
[2/8/05 12:10:43:900 GMT+05:30] 7a54d425 SystemErr R at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
[2/8/05 12:10:43:900 GMT+05:30] 7a54d425 SystemErr R at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:432)
[2/8/05 12:10:43:931 GMT+05:30] 7a54d425 SystemErr R at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:343)
[2/8/05 12:10:43:931 GMT+05:30] 7a54d425 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:592)
[2/8/05 12:10:43:931 GMT+05:30] 7a54d425 SystemErr R Caused by:
[2/8/05 12:10:43:931 GMT+05:30] 7a54d425 SystemErr R java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.RemoteException: ; nested exception is:
java.lang.OutOfMemoryError
[2/8/05 12:10:43:931 GMT+05:30] 7a54d425 SystemErr R java.rmi.RemoteException: ; nested exception is:
java.lang.OutOfMemoryError
[2/8/05 12:10:43:931 GMT+05:30] 7a54d425 SystemErr R java.lang.OutOfMemoryError
[2/8/05 12:12:20:949 GMT+05:30] 3c86543a HttpTransport A SRVE0172I: Stopped transport http on port 9,080.
[2/8/05 12:12:23:215 GMT+05:30] 3c86543a HttpTransport A SRVE0172I: Stopped transport https on port 9,443.
 
Thejaswi Narayana
Greenhorn
Posts: 27
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks like a loop is being created in the search method. Also the getDataAccesss method may be returning large number of records. check the records that are getting returned from the database for the search criteria. check these two things.
 
Sowrabha
Greenhorn
Posts: 17
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you.That solved my purpose.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic