Solved

J2ee +  EJB + Weblogic Exception8.1 + OutOfMemoryError

Posted on 2009-04-08
1
451 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
zeroFront challenge 7 79
copyEndy  challenge 15 83
scoreUp challenge 14 56
strDist challenge 35 95
-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 …
This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
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.

943 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