On 19/03/2011, at 2:23 AM, phil swenson wrote: > what does the daemon do exactly?
Etienne Studer has written a blog post about it: http://www.practicalgradle.org/blog/2010/11/gradle-daemon/ Leonard Axelsson also has an excellent post about it: http://xlson.com/2010/11/15/speeding-up-your-gradle-builds.html > is this doc'd? Sort of: http://gradle.org/1.0-milestone-1/docs/userguide/gradle_command_line.html#N14D4C > > thanks > > On Thu, Mar 17, 2011 at 4:57 PM, Adam Murdoch <[email protected]> > wrote: > > On 18/03/2011, at 4:46 AM, phil swenson wrote: > >> I tried to build gradle from source and got this: >> >> FAILURE: Build failed with an exception. >> >> * Where: >> Build file '/Users/phil/dev/sag/gradle/subprojects/docs/docs.gradle' >> >> * What went wrong: >> Execution failed for task ':docs:userguidePdf'. >> Cause: PermGen space >> >> >> I got past this by setting permgen via the command line as: >> >> GRADLE_OPTS="-Xmx1024m -Xms256m -XX:MaxPermSize=512m >> -XX:+CMSClassUnloadingEnabled -XX:+HeapDumpOnOutOfMemoryError" > > You can also just use the daemon, without setting all this stuff: > > ./gradlew --daemon install > > > -- > Adam Murdoch > Gradle Developer > http://www.gradle.org > Co-Founder and VP of Engineering, Gradleware Inc. - Gradle Training, Support, > Consulting > http://www.gradleware.com > > -- Adam Murdoch Gradle Developer http://www.gradle.org Co-Founder and VP of Engineering, Gradleware Inc. - Gradle Training, Support, Consulting http://www.gradleware.com
