Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Compiler OutOfMemoryError: Java heap space Error

9 views
Skip to first unread message

Yoseph Phillips

unread,
Feb 6, 2006, 6:46:28 AM2/6/06
to
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.

Lori M Olson [TeamB]

unread,
Feb 6, 2006, 9:58:25 PM2/6/06
to

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

Yoseph Phillips

unread,
Feb 7, 2006, 5:34:38 AM2/7/06
to
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.

0 new messages