> Blows up for me with:
>
> ava.lang.OutOfMemoryError: Java heap space
>        at sun.misc.Resource.getBytes(Resource.java:93)
>        at java.net.URLClassLoader.defineClass(URLClassLoader.java:256)
>        at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
>        at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
>        at 
> org.gradle.api.GradleScriptException.getLocation(GradleScriptException.java:76)
>        at 
> org.gradle.BuildExceptionReporter.reportBuildFailure(BuildExceptionReporter.java:79)
>        at 
> org.gradle.BuildExceptionReporter.buildFinished(BuildExceptionReporter.java:48)
>        at org.gradle.Build.run(Build.java:101)
>        at org.gradle.Main.main(Main.java:235)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at org.gradle.BootstrapMain.main(BootstrapMain.java:70)

Is that in the tests? Might you be building with Groovy 1.6? Can you run:

  gradle --version

My output is:

  Gradle 0.4
  Gradle buildtime: Tuesday, September 16, 2008 9:20:38 AM CEST
  Groovy 1.5.5
  Java 1.5.0_11
  JVM 1.5.0_11-b03
  JVM Vendor: Sun Microsystems Inc.
  OS Name: Linux

Seriously, I have not special setup, no magic in the environment, and
I haven't modified the gradle script. I all else fails, we could blame
Apple :)

Anyway, I've cc'ed the gradle user list in case Hans has any ideas.

Cheers,

Peter

-- 
Software Engineer
G2One, Inc.
http://www.g2one.com/

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

    http://xircles.codehaus.org/manage_email


Reply via email to