BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Compiler OutOfMemoryError: Java heap space Error

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Compiler
View previous topic :: View next topic  
Author Message
Yoseph Phillips
Guest





PostPosted: Mon Feb 06, 2006 12:03 pm    Post subject: Compiler OutOfMemoryError: Java heap space Error Reply with quote



I am using Jbuilder 2005 Developer Edition to compile a large project.
When compiling against JDK1.6 (the project's javac) the compiler is
reporting OutOfMemoryError: Java heap space Error.

I can compile fine from the command line using the -J-Xmx256m option to
increase the amount of space javac can use.

I would like to know how I can make JBuilder use javac to compile with
this option? I tried changing the jdk.config but that didn't help with
the compiler.

Thanks in advance.
Back to top
Lori M Olson [TeamB]
Guest





PostPosted: Tue Feb 07, 2006 3:05 am    Post subject: Re: Compiler OutOfMemoryError: Java heap space Error Reply with quote



Yoseph Phillips wrote:
Quote:
I am using Jbuilder 2005 Developer Edition to compile a large project.
When compiling against JDK1.6 (the project's javac) the compiler is
reporting OutOfMemoryError: Java heap space Error.

I can compile fine from the command line using the -J-Xmx256m option to
increase the amount of space javac can use.

I would like to know how I can make JBuilder use javac to compile with
this option? I tried changing the jdk.config but that didn't help with
the compiler.

Thanks in advance.

Other posts on this topic discussed placing a vmparam for this option in
either jbuilder.config or bcj.config

No one posted back to indicate if this was successful or not, so I'm not
sure if it will work.

--

Regards,

Lori Olson [TeamB]

------------

Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.

Google Advanced Newsgroup Search
http://www.google.ca/advanced_group_search
Other Newsgroup Searches:
http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
http://www.visi.com/~gyles19/fom-serve/cache/1.html
Back to top
Yoseph Phillips
Guest





PostPosted: Tue Feb 07, 2006 11:02 am    Post subject: Re: Compiler OutOfMemoryError: Java heap space Error Reply with quote



adding vmparam -Xmx256m to bcj.config did not make a difference
adding vmparam -J-Xmx256m to bcj.config did not make a difference
adding vmparam -Xmx256m to jbuilder.config did not make a difference
adding vmparam -J-Xmx256m to jbuilder.config stopped JBuilder from starting

still no solution, any other ideas?

Thanks.

----- Original Message -----
From: "Lori M Olson [TeamB]" <javadragon (AT) techie (DOT) com>
Sent: Tuesday, 7 February 2006 4:58:25 a.m.
Subject: Compiler OutOfMemoryError: Java heap space Error
Quote:
Yoseph Phillips wrote:

I am using Jbuilder 2005 Developer Edition to compile a large project.
When compiling against JDK1.6 (the project's javac) the compiler is
reporting OutOfMemoryError: Java heap space Error.

I can compile fine from the command line using the -J-Xmx256m option
to increase the amount of space javac can use.

I would like to know how I can make JBuilder use javac to compile with
this option? I tried changing the jdk.config but that didn't help
with the compiler.

Thanks in advance.


Other posts on this topic discussed placing a vmparam for this option in
either jbuilder.config or bcj.config

No one posted back to indicate if this was successful or not, so I'm not
sure if it will work.
Back to top
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Compiler All times are GMT
Page 1 of 1

 
 


Powered by phpBB © 2001, 2006 phpBB Group
.