There are some changes happening in the build (blocks, validation, etc) that
are taking more memory these days.  You should search the archives (dev
archive will have more I think) for recent postings on the subject.  For
instance, see http://marc.theaimsgroup.com/?t=104321273300003&r=1&w=2.  The
brief summary of suggestions is :

1) Increase the amount of memory available to the build jvm by setting the
ANT_OPTS environment variable to as large as you can.
 ANT_OPTS=-Xms100m -Xmx228m is what I'm currently using.
2) Reduce the amount of things the build has to do at once.  For instance,
use webapp-local to skip building the war.  Disable javadocs.  Disable
validation.  Options for the build can be set by modifying properties.xml,
or by using a .ant.properties file to override the defaults.  You can add
skipped steps back in later after the compiling is already done.

I only needed step one, but depending on your systems memory you'll have
options.  There is also a very recent (within the last 12 hours) patch that
may make these steps less necessary, though I haven't tried it yet.

Geoff Howard

> -----Original Message-----
> From: e nio [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 23, 2003 6:19 PM
> To: [EMAIL PROTECTED]
> Subject: cvs2.1 snapshot download date jan 22 2003 - gives me out of
> memory error
>
>
>   Anyone else experiencing this OutOfMemory when compiling the
> development snapshot dated Jan 22 2003 -
> xml-cocoon2_2003012305238_tar.gz ? I compiled it as such:
>
> ./build.sh  -Dinclude.webapp.libs=yes
> -Dinclude.installscratchpadwar.libs=yes webapp
>
> Didnt have this problem on a download 1st week of Jan 2003.
> Something significant that requires more memory this time?
>
> enio
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>
>
>


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to