Peter, On Fri, 2011-07-22 at 10:37 -0700, Peter Niederwieser wrote: > Russel Winder wrote: > > > > I guess the compilers are forked though? > > > > It seems that javac isn't forked by default, but groovyc is.
Hummm... I'd suggest that inconsistency is not a good thing. To fork, or not to fork, that is the question. (This could also lead to the comment "forking hell", but some might consider that an attempt at humour beyond the limit :-) > Russel Winder wrote: > > > > Not sure if there is anything in this but if I run "gradle install" then > > the groovydoc fails. If I run "JAVA_OPT='-Xmx1024M' gradle install" > > then the groovydoc fails. If I run "gradle gant_groovy1.9:groovydoc" it > > fails. If I run "JAVA_OPT="-Xmx1024M" gradle gant_groovy1.9:groovydoc" > > it succeeds. I can then run "gradle install" successfully. > > > > I guess you mean JAVA_OPTS? Indeed. > Previously you said that you get a PermGen error. In that case you'll have > to increase PermGen space, not heap space. A definite "doh" moment on my part. I will tinker with the parameter and see what works. Thanks for your help on this. The information that the tasks work with the Gradle JVM instance enabled me to move forward very quickly :-) -- Russel. ============================================================================= Dr Russel Winder t: +44 20 7585 2200 voip: sip:[email protected] 41 Buckmaster Road m: +44 7770 465 077 xmpp: [email protected] London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
signature.asc
Description: This is a digitally signed message part
