2025-06-30 07:35:44,595 ERROR org.apache.struts.actions.DispatchAction - Dispatch[/vlm/VlmRvlAppln] to method 'next' returned an exception -
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor5616.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:270)
at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:187)
at com.novacitynets.afx.core.web.AppDispatchAction.execute(AppDispatchAction.java:57)
at org.springframework.web.struts.DelegatingActionProxy.execute(DelegatingActionProxy.java:106)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at weblogic.servlet.internal.StubSecurityHelperServletServiceAction.run(StubSecurityHelper.java:227)atweblServletInvocationAction.run(WebAppServletContext.java:3229)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2002)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1908)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1362)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
Caused by: java.lang.OutOfMemoryError: Java heap space
2025-06-30 07:35:44,596 ERROR bn.gov.ltd.spd.cm.web.CmExceptionHandler - Java heap space -
javax.servlet.ServletException: Java heap space
at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:294)
at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:187)
at com.novacitynets.afx.core.web.AppDispatchAction.execute(AppDispatchAction.java:57)
at org.springframework.web.struts.DelegatingActionProxy.execute(DelegatingActionProxy.java:106)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at weblogic.servlet.internal.StubSecurityHelperServletInvocationAction.run(WebAppServletContext.java:3229)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2002)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1908)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1362)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
Assistant
This error log shows an OutOfMemoryError: Java heap space occurring in a Struts application running on WebLogic Server. This is a serious error indicating that the Java Virtual Machine (JVM) has exhausted its available heap memory.
🔍 Error Analysis
code
Caused by: java.lang.OutOfMemoryError: Java heap space
The error occurred while executing the next method in a Struts DispatchAction handling a request to /vlm/VlmRvlAppln.
🔧 Common Causes
Memory Leaks
Unclosed resources
Objects remaining referenced when no longer needed
Accumulating collections that grow unbounded
Insufficient Heap Space
JVM heap size too small for the application's needs
Large data processing operations
Too many concurrent requests
Application-Specific Issues
Large file uploads
Complex database queries returning large result sets