-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: HELP REQUIRED : java.lang.OutOfMemoryError: Java heap space
PostPosted: Mon May 16, 2005 5:14 pm 
Newbie

Joined: Mon May 16, 2005 5:00 pm
Posts: 5
Location: Indianapolis
I'm trying to do an reverse engneering from UDB to create Java Obect & mapping files. The database had nearly 90 tables and When I tried to do this It could able to create only few files and later on it throws me an
java.lang.OutOfMemoryError: Java heap space.
I started the eclispe by giving
C:\eclipse\eclipse.exe -Xmx950M ....Almost I gave 1GB of heap memory.

Version that i use :

Hibernate Mapping tool version: 3.0.1 Aplha
ECLIPSE VERSION : Version: 3.1.0
Database : UDB 7.2 Version
JRE : 1.5.0

Anyone Help would be great. This is real need.....Please....SAHEE99


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 17, 2005 3:40 pm 
Newbie

Joined: Mon May 16, 2005 8:25 am
Posts: 7
Location: Hertford, UK
I think you'll find you need to include -vmargs on the command line i.e.

eclipse.exe -vmargs -Xmx950M

Hope this helps

Mick


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 17, 2005 3:54 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
i have unit tests that rev engineer 4000 tables within default 64 meg...so something specific must be going on ....

/max

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: Re: HELP REQUIRED : java.lang.OutOfMemoryError: Java heap s
PostPosted: Tue May 17, 2005 5:50 pm 
Newbie

Joined: Mon May 16, 2005 5:00 pm
Posts: 5
Location: Indianapolis
***********************************
Finally I could able to solve myself by starting the Eclipse.exe as follows
C:\eclipse\eclipse.exe -vmargs -Xms750M -Xmx750M
I have given Minimum as well as maximum. If any one has the outOf Memory problem...Use the above line. You can keep changing according your wish....Best of luck....SAHEE99 ::--)))
***********************************

SAHEE99 wrote:
I'm trying to do an reverse engneering from UDB to create Java Obect & mapping files. The database had nearly 90 tables and When I tried to do this It could able to create only few files and later on it throws me an
java.lang.OutOfMemoryError: Java heap space.
I started the eclispe by giving
C:\eclipse\eclipse.exe -Xmx950M ....Almost I gave 1GB of heap memory.

Version that i use :

Hibernate Mapping tool version: 3.0.1 Aplha
ECLIPSE VERSION : Version: 3.1.0
Database : UDB 7.2 Version
JRE : 1.5.0

Anyone Help would be great. This is real need.....Please....SAHEE99

_________________
SAHEE99


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.