Thanks Hans, that did the trick. -Laxman
hdockter wrote: > > > On Apr 16, 2009, at 5:15 AM, laxmang wrote: > >> >> Hi, >> >> I am new to gradle. I'm trying to use jetty plugin. >> >> When I run it I get "OutOfMemory" error. >> >> I tried to set SystemProperties in jettyRun with JAVA_OPTIONS set to >> -XX:MaxPermSize=256m -Xmx512M. >> >> When I run start server from command line as: >> >> java -XX:MaxPermSize=256m -Xmx512M -jar start.jar, it comes up just >> fine. >> >> >> I tried to set JAVA_OPTIONS in the environment but to no avail. >> >> Can somebody please help me how I can set these JVM parameters ? > > You can set GRADLE_OPTS for this purpose. For 0.6 we will also support > JAVA_OPTS. > > - Hans > > -- > Hans Dockter > Gradle Project lead > http://www.gradle.org > > > > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > > -- View this message in context: http://www.nabble.com/jetty-plugin-server-JVM-parameters-tp23070739p23080779.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
