File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "java.lang.OutOfMemoryError" Watch "java.lang.OutOfMemoryError" New topic
Author

java.lang.OutOfMemoryError

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: 15952
    
  19

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.
 
wood burning stoves
 
subject: java.lang.OutOfMemoryError
 
Similar Threads
HELP! Websphere ThreadMonitor Exception
WSVR0605W exception from Websphere
Websphere Troubleshooting..
application hangs at closing the database connection
Exception while starting RAD Server connecting to Db2