J2ee + EJB + Weblogic Exception8.1 + OutOfMemoryError

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)
Srinivasu_VAsked:
Who is Participating?
 
rajesh_balaConnect With a Mentor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.