Solved

J2ee +  EJB + Weblogic Exception8.1 + OutOfMemoryError

Posted on 2009-04-08
1
460 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Database Solutions Engineer FAQs

In this series, we will discuss common questions received as a database Solutions Engineer at Percona. In this role, we speak with a wide array of MySQL and MongoDB users responsible for both extremely large and complex environments to smaller single-server environments.

Question has a verified solution.

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

Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
This exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…
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.

626 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