On Thu, 2002-09-26 at 12:04, [EMAIL PROTECTED] wrote: > > Hi, > > I sent this out last week - did you try it? > > > Have you tried upping the heap size? Add this to maven.bat to do so: > > > > SET MAVEN_OPTS=-Xmx128m Setting that in maven (.sh) helped, thanks a lot!
/peter > > > > Java is limited to 64MB(?) by default, which is why you won't see it > eating > > up your main RAM... > > > > Hope this helps, > > > > Mike > > > > > > > > > Peter Neubauer <[EMAIL PROTECTED]> on 26/09/2002 11:02:02 > > Please respond to "Turbine Maven Users List" > <[EMAIL PROTECTED]> > > > > To: Turbine Maven Users List <[EMAIL PROTECTED]> > cc: > Subject: Re: OutOfMemory when building maven, custom docs best praktice? > > On Thu, 2002-09-26 at 10:13, David Garnier wrote: > > Maven is clearly a memory-intensive app. > > > > My collegue's box has 256M of RAM and 64M of swap under Debian+KDE. Our > > project has 140 classes. Compiling usually fails if Tomcat is running at > > the same time because the memory is filled up. Even when we shutdown > > Tomcat, the docs' generation fails sometimes. My box has 512M of RAM and > > 700M of swap with the same setup plus PostgreSQL, and it never fails. > I have the same memory (512MB), but it seems maven is failing before > everything is filled up > according to gtop. > Is it maybe the JVM being out of memory? > Here is the latest trace: > > > /graph/target/maven-graph-plugin-1.0.jar > [copy] Copying 1 file to /usr/local/maven/repository/maven/jars > > +---------------------------------------- > | Building Maven JDepend Plugin > +---------------------------------------- > [ERROR] java.lang.reflect.InvocationTargetException > [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > [ERROR] at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > [ERROR] at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > [ERROR] at java.lang.reflect.Method.invoke(Method.java:324) > [ERROR] at com.werken.forehead.Forehead.run(Forehead.java:543) > [ERROR] at com.werken.forehead.Forehead.main(Forehead.java:573) > [ERROR] Caused by: java.lang.OutOfMemoryError > > > /peter > > > > Best Regards, > > David Garnier > > > > le jeu 26-09-2002 � 09:15, Peter Neubauer a �crit : > > > Hi, > > > how much memeory does maven need to build? and how do I set it? > > > > > > Another question: > > > Are there any best praktices on how to integrate and add your own doc > to > > > a maven project? What plugin, which format, where to put it, how to set > > > it up? > > > > > > The maven cvs looks very BIIG in that respect ... > > > > > > /peter > > > > > > _____________________________________________________ > > > Gratis e-mail resten av livet p� www.yahoo.se/mail > > > Busenkelt! > > > > > > -- > > > To unsubscribe, e-mail: < > mailto:[EMAIL PROTECTED]> > > > For additional commands, e-mail: < > mailto:[EMAIL PROTECTED]> > > > > > > > > > > > _____________________________________________________ > F�lj VM p� n�ra h�ll p� Yahoo!s officielle VM-sajt www.yahoo.se/vm2002 > H�ll dig ajour med nyheter och resultat, med vinnare och f�rlorare... > > -- > To unsubscribe, e-mail: < > mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: < > mailto:[EMAIL PROTECTED]> > > > > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> _____________________________________________________ Gratis e-mail resten av livet p� www.yahoo.se/mail Busenkelt! -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
