This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes java.lang.OutOfMemoryError: Java heap space 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 » Databases » Object Relational Mapping
Bookmark "java.lang.OutOfMemoryError: Java heap space" Watch "java.lang.OutOfMemoryError: Java heap space" New topic
Author

java.lang.OutOfMemoryError: Java heap space

srini carry
Ranch Hand

Joined: Nov 30, 2007
Posts: 83
I am gettting this error , pease help me resolve this
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968
    
    1

Is there any chance there's a recursive call going on here?
srini carry
Ranch Hand

Joined: Nov 30, 2007
Posts: 83
Cameron Wallace McKenzie wrote:Is there any chance there's a recursive call going on here?


No its happens when hibernate tries to save my blob to database
Marcelo Colomer
Greenhorn

Joined: Sep 01, 2009
Posts: 1
Hi,
I have the same problem




Did you find any solution?
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

When you increased the size of the heap available to the JVM did the problem go away?


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
srini carry
Ranch Hand

Joined: Nov 30, 2007
Posts: 83
Paul Sturrock wrote:When you increased the size of the heap available to the JVM did the problem go away?


I am running my application using jetty which gets started from maven , in production we will be deploying to weblogic unix environments.Please tell me for jetty plugin maven can I increase heap size ?
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Yes, after all maven and the jetty plugin are ultimately just going to be starting a JVM. Doesn't the Maven documentation cover this?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: java.lang.OutOfMemoryError: Java heap space
 
Similar Threads
ids for this class must be manually assigned before calling save()
org.hibernate.exception.ConstraintViolationException
many side of one to many not being populated
Caught a NonUnique Exception while adding more rows to the table.
How to get last insert id from one table and put in to the another table