Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Weblogic6.1sp2 server crash java.lang.OutOfMemory error 1

Status
Not open for further replies.

dhirendra

Technical User
Aug 8, 2002
5
US
we have developed our application and deployed it on weblogic6.1sp2 and our databaseis Oracle9i both on Tru64 unix. we have used the following tech in our App.

1. JSP for client presentation used with Struts framework.
2. Stateful Session beans which has BusinessLogic and Entity beans for Data operations.
3. MDBs for Asycn. Operation.

Ours is a highly data oriented project which is a for of Product Catalog.

Yhe Problem we are facing is the after running for few hours server is crashing with Java.lang.OutOfMemory Error but when we do VM Stat there is lot of memory left on system and also the weblogic performance graph shows normal GCs and enough memory.


Can any one help me !!!


I am attachng the two errors .
Error 1 :

OCI-21503: program terminated by fatal error
OCI-04030: out of process memory when trying to allocate 2056 bytes (Alloc environm,eoj_malloc)
Errors in file :
OCI-21503: program terminated by fatal error
OCI-04030: out of process memory when trying to allocate 2056 bytes (Alloc environm,eoj_malloc)



----- Call Stack Trace -----
calling call entry argument values in hex
location type point (? means dubious value)
-------------------- -------- -------------------- ----------------------------

----- Argument/Register Address Dump -----




----- End of Call Stack Trace -----

Error 2:
java.lang.OutOfMemoryError: ilog/rules/webui/IlrWCompiler$CDeleteLine:
at java.lang.ClassLoader.defineClass0 (ClassLoader.java)
at java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) (ClassLoader.java:498) (pc 87)

at java.security.SecureClassLoader.defineClass (SecureClassLoader.java:111) (pc 27)
at java.net.URLClassLoader.defineClass (URLClassLoader.java:248) (pc 171)
at java.net.URLClassLoader.access$100 (URLClassLoader.java:56) (pc 3)
at java.net.URLClassLoader$1.run (URLClassLoader.java:195) (pc 43)
at java.security.AccessController.doPrivileged(java.security.PrivilegedExceptionAction,java.security.AccessControlContext) (AccessController.java)

at java.net.URLClassLoader.findClass (URLClassLoader.java:188) (pc 13)
at java.lang.ClassLoader.loadClass(java.lang.String,boolean) (ClassLoader.java:309) (pc 43)
at sun.misc.Launcher$AppClassLoader.loadClass (Launcher.java:286) (pc 36)
at java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:265) (pc 3)
at ilog.rules.webui.IlrWRenderer.<init> (pc 10)
at ilog.rules.webui.IlrWSyntacticEditor.fzc477 (pc 21)
at ilog.rules.webui.IlrWSyntacticEditor.printComponent (pc 13)
at ilog.webui.dhtml.IlxWComponent.try (pc 73)
at ilog.webui.dhtml.IlxWPort.if(ilog.webui.dhtml.IlxWComponent) (pc 13)
at ilog.webui.dhtml.IlxWComponent.print (pc 2)
at com.dstsystems.concorde.framework.rulesAPI.web.builder.BrmElementPanel$SyntacticView.printComponent (pc 5)
at ilog.webui.dhtml.IlxWComponent.try (pc 73)
at ilog.webui.dhtml.IlxWPort.if(ilog.webui.dhtml.IlxWComponent) (pc 13)
at ilog.webui.dhtml.IlxWComponent.print (pc 2)
at com.dstsystems.concorde.framework.rulesAPI.web.builder.BrmElementPanel.printComponent (pc 35)
at ilog.webui.dhtml.IlxWComponent.try (pc 73)
at ilog.webui.dhtml.IlxWPort.if(ilog.webui.dhtml.IlxWComponent) (pc 13)
at ilog.webui.dhtml.IlxWComponent.print (pc 2)
at ilog.webui.dhtml.components.IlxWTabbedPane$TabCellComponent.printComponent (pc 16)
at ilog.webui.dhtml.components.IlxWTabbedPane$4.printComponent (pc 25)
at ilog.webui.dhtml.IlxWTableElement.try (pc 43)
at ilog.webui.dhtml.IlxWPort.if(ilog.webui.dhtml.IlxWComponent) (pc 13)
at ilog.webui.dhtml.IlxWComponent.print (pc 2)
at ilog.webui.dhtml.components.IlxWTabbedPane.n (pc 111)
at ilog.webui.dhtml.components.IlxWTabbedPane.printComponent (pc 118)
at ilog.webui.dhtml.IlxWComponent.try (pc 73)
at ilog.webui.dhtml.IlxWPort.if(ilog.webui.dhtml.IlxWComponent) (pc 13)
at ilog.webui.dhtml.IlxWComponent.print (pc 2)
at com.dstsystems.concorde.framework.rulesAPI.web.builder.CenterPanel.printComponent (pc 21)
at ilog.webui.dhtml.IlxWComponent.try (pc 73)
at ilog.webui.dhtml.IlxWComponent.a(ilog.webui.dhtml.IlxWScriptWriter,ilog.webui.dhtml.IlxWScriptWriter,ilog.webui.dhtml.IlxWPort) (pc 78)

at ilog.webui.dhtml.IlxWPort.a(ilog.webui.dhtml.IlxWComponent,ilog.webui.dhtml.IlxWScriptWriter,ilog.webui.dhtml.IlxWScriptWriter) (pc 30)

at ilog.webui.dhtml.IlxWUpdateManager.a(ilog.webui.dhtml.IlxWScriptWriter,ilog.webui.dhtml.IlxWScriptWriter,ilog.webui.dhtml.IlxWPort) (pc 124)

at ilog.webui.dhtml.IlxWPort.a(ilog.webui.dhtml.IlxWScriptWriter,ilog.webui.dhtml.IlxWScriptWriter) (pc 10)
at ilog.webui.dhtml.IlxWController.service (pc 584)
at javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest,javax.servlet.ServletResponse) (HttpServlet.java:853) (pc 29)

at weblogic.servlet.internal.ServletStubImpl.invokeServlet(javax.servlet.ServletRequest,javax.servlet.ServletResponse,weblogic.servlet.internal.FilterChainImpl) (ServletStubImpl.java:265) (pc 212)

at weblogic.servlet.internal.ServletStubImpl.invokeServlet(javax.servlet.ServletRequest,javax.servlet.ServletResponse) (ServletStubImpl.java:200) (pc 4)

at weblogic.servlet.internal.WebAppServletContext.invokeServlet(weblogic.servlet.internal.ServletRequestImpl,weblogic.servlet.internal.ServletResponseImpl) (WebAppServletContext.java:2495) (pc 264)

at weblogic.servlet.internal.ServletRequestImpl.execute (ServletRequestImpl.java:2204) (pc 9)
at weblogic.kernel.ExecuteThread.execute (ExecuteThread.java:139) (pc 12)
at weblogic.kernel.ExecuteThread.run (ExecuteThread.java:120) (pc 62)



 
FYI: This is a known Java VM bug (ID 4707386)

It will be fixed in JVM 1.3.1_08, and the workaround is as follows:

&quot;Specifying -XX:MaxPermSize=64m will almost certainly work around the problem.
Use larger sizes if necessary.&quot;

I have been searching for an answer to this issue for weeks - now that seems to be the accepted way to resolve it, but I think I'll try the -server option anyway.
 
Hi,
I must thank you, I got the same problem on Solaris 8 with WebSphere 4.0. I tried setting LD_LIBRARY_PATH ot /usr/lib/lwp and adding it to path also. It did not work, I just added -XX:MaxPermSize=64m to my JVM properties of appserver instance and it solved my problem immediately.

I was only wondering if there any other good documents (other than which can give me some basic understanding of this issue.

Thanks
Anusuya
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top