Thanks for the responses. My compile was getting stuck near the very end, creating the war file. Anyhow, after setting the env var export ANT_OPTS="-Xms100m -Xmx228m" and rerunning same build command i had earlier, worked. Fyi, the war file created is now 25245720 Jan 23 17:25 cocoon.war.. this is huge, 25meg. Not all samples work still, and like the slide show which was working for me not too long ago. Oh well.
Regards, enio --- Antonio Gallardo <[EMAIL PROTECTED]> wrote: > Just for the register: > > > I am using Red Hat Linux 8.0 and Java 1.4.1_01 and dont need > to use: > > ANT_OPTS=-Xms100m -Xmx228m > > Antonio Gallardo > > > Geoff Howard dijo: > > 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]> > > > > > --------------------------------------------------------------------- > 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]> > __________________________________________________ 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]>