>Hi Stephen,
>
>Stephen Bannasch wrote:
>>I've been using MB7 with Java and Ruby clusters for debugging Ruby
>>and JRuby programs but I can no longer build it.
>>
>>I've got an up-to-date clone of NB main and am running out of
>>permgen space when building on MacOS X 10.5.6. I've had this
>>problem before and upped the max permgen size for ant to a
>>ridiculous level (which worked) but now even setting max permgen to
>>2048 MB doesn't allow building.
>>
>>[main]$ java -version
>>java version "1.5.0_16"
>>Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b06-284)
>>Java HotSpot(TM) Client VM (build 1.5.0_16-133, mixed mode, sharing)
>>
>>[main]$ /opt/local/bin/ant -version
>>Apache Ant version 1.7.1 compiled on June 27 2008
>>
>>[main]$ hg identify
>>b97997ded7d3 tip
>>
>>[main]$ export ANT_OPTS=-'Xmx2048m -XX:MaxPermSize=2048m'
>
>There seems to be an extra ' before Xmx in the above? I haven't had
>any OOEM problems building with -Xmx512m and default perm size, but
>I'm not on a Mac. If you don't get any replies here, you might want
>to ask also on the
nbdev@... list since this seems to a
>general build problem.
>
>Erno
Thanks for the reply Errno,
The errors I was getting about running out of permgen space led me
down a path that didn't help.
I found that following your example of just increasing the regular
memory worked:
Here's how I am building my instance of NetBeans & (Java and Ruby modules) now:
$ cat build.sh
#!/bin/sh
export ANT_OPTS='-Xmx1048m'
/opt/local/bin/ant -Dcluster.config=basic -Dmoduleconfig=ruby merge
---------------------------------------------------------------------
To unsubscribe, e-mail:
dev-unsubscribe@...
For additional commands, e-mail:
dev-help@...