I added it to: http://cwiki.apache.org/confluence/display/CXF/Building
Dan On Tuesday 24 April 2007 12:39, Fred Dushin wrote: > Great stuff. > > Is there an appropriate slot in the CXF wiki for this? > > Do mere mortals have the right to edit the CXF wiki? > > Thanks, > -Fred > > On Apr 24, 2007, at 10:53 AM, Daniel Kulp wrote: > > A bunch of folks already chimed in with the Xmx512M thing. > > However, I > > should mention one other thing for the folks out there using a real > > OS... ;-) > > > > On 64bit platforms (I know both Linux and Solaris need this, don't > > know > > about 64bit Wintendo), you also need to increase the PermGen > > space. On > > my box (64bit Linux), I have: > > > > export MAVEN_OPTS="-XX:MaxPermSize=192m -Xmx512M" > > > > You probably just need 128M for the MaxPermSize. I'm building > > Geronimo > > on a almost daily basis right now and that sucker eats a TON of > > memory which is why it's set to 192M for me. > > > > > > Enjoy! > > Dan > > > > On Tuesday 24 April 2007 06:16, Mielke, Torsten wrote: > >> Hello, > >> > >> When trying to build CXF off the latest trunk I often get the > >> following error below [1]. How can I configure Maven to assign more > >> heap to the Java compiler? > >> > >> Cheers, > >> Torsten Mielke > >> > >> > >> [1] build error. > >> [INFO] [compiler:compile] > >> [INFO] Compiling 1227 source files to > >> C:\CXF\trunk\testutils\target\classes > >> [INFO] > >> ------------------------------------------------------------------- > >>-- - > >> -- [ERROR] BUILD FAILURE > >> [INFO] > >> ------------------------------------------------------------------- > >>-- - > >> -- [INFO] Compilation failure > >> Failure executing javac, but could not parse the error: > >> The system is out of resources. > >> Consult the following stack trace for details. > >> java.lang.OutOfMemoryError: Java heap space > >> Failure executing javac, but could not parse the error: > >> The system is out of resources. > >> Consult the following stack trace for details. > >> java.lang.OutOfMemoryError: Java heap space > >> [INFO] > >> ------------------------------------------------------------------- > >>- [INFO] For more information, run Maven with the -e switch > >> [INFO] > >> ------------------------------------------------------------------- > >>-- [INFO] Total time: 6 minutes 37 seconds > >> [INFO] Finished at: Thu Apr 19 17:01:39 CEST 2007 > >> [INFO] Final Memory: 48M/63M > >> [INFO] > >> ------------------------------------------------------------------- > >>-- > > > > -- > > J. Daniel Kulp > > Principal Engineer > > IONA > > P: 781-902-8727 C: 508-380-7194 > > [EMAIL PROTECTED] > > http://www.dankulp.com/blog -- J. Daniel Kulp Principal Engineer IONA P: 781-902-8727 C: 508-380-7194 [EMAIL PROTECTED] http://www.dankulp.com/blog
