Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.lang.OutOfMemoryError

 
Amit K Jain
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 18024
47
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic