Thanks, David - this POM change cut the Maven build elapsed time from 2'45" to 1'22" for me.
Cheers, Darren >Richard, > >I just committed up a fix to the pom.xml file that allocates 1024M to the >scalac subprocess. This cut compilation time from 1m34s to 1m. > >Thanks, > >David > >On Mon, Mar 16, 2009 at 7:41 AM, Hirsch, Richard <[email protected] >> wrote: > >> With the Maven options set the build works but takes about 3 minutes longer >> than before. >> >> Thanks. >> >> D. >> >> >> >> -----Ursprüngliche Nachricht----- >> Von: David Pollak [mailto:[email protected]] >> Gesendet: Montag, 16. März 2009 15:19 >> An: [email protected] >> Betreff: Re: Trouble with build - maven build hangs and CPU uasge for java >> 100%! >> >> On Mon, Mar 16, 2009 at 7:15 AM, Bertrand Delacretaz < >> [email protected] >> > wrote: >> >> > On Mon, Mar 16, 2009 at 3:11 PM, David Pollak >> > <[email protected]> wrote: >> > > ...I'll put this on my "back in the office" to do list this morning and >> > dig up >> > > the maven settings for increasing heap size.... >> > >> > The MAVEN_OPTS environment variable sets options for the JVM used to >> > run Maven, for example: >> > >> > export MAVEN_OPTS=-Xmx256M >> >> >> Try >> >> export MAVEN_OPTS=-Xmx2048M on Linux and MAVEN_OPTS=-Xmx1200M on Windows >> >> >> > >> > -Bertrand >> > >> >> >> >> -- >> Lift, the simply functional web framework http://liftweb.net >> Beginning Scala http://www.apress.com/book/view/1430219890 >> Follow me: http://twitter.com/dpp >> Git some: http://github.com/dpp >> > > > >-- >Lift, the simply functional web framework http://liftweb.net >Beginning Scala http://www.apress.com/book/view/1430219890 >Follow me: http://twitter.com/dpp >Git some: http://github.com/dpp -- [email protected]
