Solved

J2ee +  EJB + Weblogic Exception8.1 + OutOfMemoryError

Posted on 2009-04-08
1
449 Views
Last Modified: 2013-12-10
Hi,
I am getting OutOfMemoryError while my application is running on Weblogic8.1,
Pls help me to sort out the following problem:
------------------------------------------------------------------------------------------
EJB Exception: ; nested exception is:
      java.lang.OutOfMemoryError
java.rmi.RemoteException: EJB Exception: ; nested exception is:
      java.lang.OutOfMemoryError
      at weblogic.ejb20.internal.EJBRuntimeUtils.throwRemoteException(Ljava.lang.String;Ljava.lang.Throwable;)V(EJBRuntimeUtils.java:102)
      at weblogic.ejb20.internal.BaseEJBHome.handleSystemException(Lweblogic.ejb20.internal.InvocationWrapper;Ljava.lang.Throwable;)V(BaseEJBHome.java:296)
      at weblogic.ejb20.internal.BaseEJBObject.postInvoke(Lweblogic.ejb20.internal.InvocationWrapper;Ljava.lang.Throwable;)V(BaseEJBObject.java:263)
      at weblogic.ejb20.internal.StatelessEJBObject.postInvoke(Lweblogic.ejb20.internal.InvocationWrapper;Ljava.lang.Throwable;)V(StatelessEJBObject.java:140)
0
Comment
Question by:Srinivasu_V
1 Comment
 
LVL 10

Accepted Solution

by:
rajesh_bala earned 500 total points
ID: 24107187
well, its really hard to pinpoint whether its a leak or not with this information.

What is the scenario you are executing when you get this error.

What is the heap size you have set in JVM (is it defaulted to 256m to 512M) ?

Did you try increasing the size of the heap? It may not be a genuine memory leak. It might just need more memory depending on your application requirements as well.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

-Xmx and -Xms are the two JVM options often used to tune JVM heap size.   Here are some common mistakes made when using them:   Assume BigApp is a java class file for the below examples. 1.         Missing m, M, g or G at the end …
Upgrading Tomcat – There are a couple of methods to upgrade Tomcat is to use The Apache Installer is to download and unzip and run the services.bat remove|install Tomcat6 Because of the App that we are working with, we can only use Tomcat 6.…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now