On Fri, Apr 2, 2010 at 2:16 PM, Shay Banon <[email protected]> wrote: > > Sorry, forgot that I changed the GRADLE_OPTS to have higher Xmx. By the > way, > in the gradle shell file, I would change from: > > GRADLE_OPTS="$GRADLE_OPTS -Xmx512" > > to > > GRADLE_OPTS="$GRADLE_OPTS -Xmx512m" > > (note the extra m). > > > As a side note, how do you control how much memory is assigned to gradlew? >
Running a gradle build via gradlew also respects the GRADLE_OPTS settings. You can set it either in the gradlew script or via your OS. - Hans -- Hans Dockter Founder, Gradle http://www.gradle.org, http://twitter.com/gradleorg CEO, Gradle Inc. - Gradle Training, Support, Consulting http://www.gradle.biz > > Cheers, > Shay > > > Shay Banon wrote: > > > > Hi, > > > > I upgraded to 0.9, and now, when I compile my Java project, it runs > into > > OOME in the process. Has something changed? > > > > Cheers, > > Shay > > > > -- > View this message in context: > http://old.nabble.com/Upgrade-to-0.9-preview-1%2C-compile-OOME-tp28118330p28118436.html > Sent from the gradle-user mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > >
