This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft 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 8 in Action this week in the Java 8 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: 15662

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.

Customer surveys are for companies who didn't pay proper attention to begin with.
jQuery in Action, 2nd edition
subject: java.lang.OutOfMemoryError
Similar Threads
application hangs at closing the database connection
Exception while starting RAD Server connecting to Db2
HELP! Websphere ThreadMonitor Exception
Websphere Troubleshooting..
WSVR0605W exception from Websphere