A bit OT but does that mean there are official git repos for grails and groovy ?
Cheers
Guillaume

On Wed, Mar 18, 2009 at 8:41 AM, Adam Murdoch <a...@rubygrapefruit.net> wrote:
>
>
> Peter Ledbrook wrote:
>
> Hi,
>
> The Gradle build for Grails is currently running out of memory during
> the compile phase:
>
> :clean
> :build/script-classes
> :init
> :resources
> :compile
>
>
> a serious error occurred: Java heap space
> stacktrace:
>
>
> java.lang.OutOfMemoryError: Java heap space
>
> Build failed with an exception.
> Run with -s or -d option to get more details. Run with -f option to
> get the full (very verbose) stacktrace.
>
> Build file '/home/pal20/dev/tools/git/grails-trunk/build.gradle'
>
> Execution failed for task :compile.
> Cause: Forked groovyc returned error code: 1
>
> BUILD FAILED
>
>
> I have upped the maximum heap size to 512Mb via GRADLE_OPTS="-Xmx512m
> -XX:MaxPermSize=128m", but it seems this setting isn't being passed to
> the forked compiler. Any ideas?
>
>
>
> The GroovyCompile task does not use $GRADLE_OPTS when forking the groovyc
> compiler. Instead, you need to set the fork options for the task. For
> example:
>
> compile.groovyOptions.fork(memoryMaximumSize: '512m')
>
>
> Adam
>
>



-- 

PGP KeyID: 1024D/47172155
FingerPrint: C739 8B3C 5ABF 127F CCFA  5835 F673 370B 4717 2155

http://cheztog.blogspot.com

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to