aspose 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
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: 16054
    
  21

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.lang.OutOfMemoryError