This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes JSF and the fly likes java.lang.OutOfMemoryError Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "java.lang.OutOfMemoryError" Watch "java.lang.OutOfMemoryError" New topic


Amit K Jain
Ranch Hand

Joined: Nov 06, 2008
Posts: 55
Hi Friends,

I have been calling delegate method in EJB from JSF page which executes a SQL. The executes for long time and finally it returns the following error in the log.

I am using hibernate 3 and EJB 2.0, JSF 1.1, websphere 6.1
As per the log the query was executed correctly as I see the result size in the log. However, it also complains for memory. Is there any way to increase the heap memory or is there any way to fix it. Please help.

Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17421

The message seems to indicate that the CORBA server needs more memory, not the Websphere server. So I'd set the standard JVM memory configuration options on the CORBA server startup script.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: java.lang.OutOfMemoryError
It's not a secret anymore!