You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Antonio Gallardo <ag...@agsoftware.dnsalias.com> on 2003/01/09 17:42:22 UTC

[ERROR] CVS build failed.

I updated right now and after a:

build.sh clean

I run:

./build.sh -Dinclude.webapp.libs=true -Dinclude.scratchpad.libs=true webapp

I got this error:

compile-samples:
Created dir: /xml-cocoon2/build/cocoon/classes/samples
Compiling 2 source files to /xml-cocoon2/build/cocoon/classes
The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError

BUILD FAILED
file:/xml-cocoon2/build.xml:1209: Compile failed; see the compiler error
output for details.


Please can someone advise what I am doing wrong?

Best Regards,

Antonio Gallardo



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


RE: [ERROR] CVS build failed.

Posted by Antonio Gallardo <ag...@agsoftware.dnsalias.com>.
> ...
>> BUILD FAILED
>> file:/xml-cocoon2/build.xml:1209: Compile failed; see the compiler
>> error output for details.
>>
>> Antonio Gallardo
>
>
> Antonio,
>
> You should find a few mails about this problem - have a look at the
> archives.
> Did you check out CVS after Ovidiu's patch?

Yes, I updated today at 11:15 a.m. CST.

Please help since after the mail.jar introduction I cannot compile Cocoon.
I am using Java 1.4.1_01, Tomcat 4.1.18.

Antonio Gallardo




---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


RE: [Summary] CVS build and java.lang.OutOfMemoryError

Posted by Carsten Ziegeler <cz...@s-und-n.de>.
Yes, and it also happens with JDK-1.3.1 on W2K.

Carsten

> -----Original Message-----
> From: David Crossley [mailto:crossley@indexgeo.com.au]
> Sent: Saturday, January 11, 2003 2:37 AM
> To: cocoon-dev@xml.apache.org
> Subject: Re: [Summary] CVS build and java.lang.OutOfMemoryError
> 
> 
> Nicola Ken Barozzi wrote:
> <snip/>
> > Now I think i fixed it, ...<snip/>
> 
> Drat, it still happens for me with today's cvs.
> Linux with Java-1.3.1
> --David
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: [Summary] CVS build and java.lang.OutOfMemoryError

Posted by David Crossley <cr...@indexgeo.com.au>.
Nicola Ken Barozzi wrote:
<snip/>
> Now I think i fixed it, ...<snip/>

Drat, it still happens for me with today's cvs.
Linux with Java-1.3.1
--David





---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


RE: [Summary] CVS build and java.lang.OutOfMemoryError

Posted by Carsten Ziegeler <cz...@s-und-n.de>.
Good work, Nicola Ken!

Carsten

> -----Original Message-----
> From: Nicola Ken Barozzi [mailto:nicolaken@apache.org]
> Sent: Friday, January 10, 2003 12:03 PM
> To: cocoon-dev@xml.apache.org
> Subject: Re: [Summary] CVS build and java.lang.OutOfMemoryError
> 
> 
> 
> Antonio Gallardo wrote:
> > PROBLEM:
> > 
> > When building the CVS version of Cocoon 2.1 you get the 
> following message:
> > 
> > java.lang.OutOfMemoryError
> > 
> > BUILD FAILED
> > file:/xml-cocoon2/build.xml:1209: Compile failed; see the compiler
> > error output for details.
> > 
> > WORKAROUND:
> > Increase the amount of heap space allocated to the JVM. Add the 
> -Xmx512mb
> > parameter to the java invocation at tools/bin/ant file.
> 
> Now I think i fixed it, by setting fork=true to the javac task for the 
> blocks. This lowers the memory need for the build.
> 
> Before the memory used to build each block was not released by Ant, and 
> kept building up till the build failed.
> Now after each block build, memory is released.
> 
> Sorry for the inconvenience.
> 
> -- 
> Nicola Ken Barozzi                   nicolaken@apache.org
>              - verba volant, scripta manent -
>     (discussions get forgotten, just code remains)
> ---------------------------------------------------------------------
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: [Summary] CVS build and java.lang.OutOfMemoryError

Posted by Nicola Ken Barozzi <ni...@apache.org>.
Antonio Gallardo wrote:
> PROBLEM:
> 
> When building the CVS version of Cocoon 2.1 you get the following message:
> 
> java.lang.OutOfMemoryError
> 
> BUILD FAILED
> file:/xml-cocoon2/build.xml:1209: Compile failed; see the compiler
> error output for details.
> 
> WORKAROUND:
> Increase the amount of heap space allocated to the JVM. Add the -Xmx512mb
> parameter to the java invocation at tools/bin/ant file.

Now I think i fixed it, by setting fork=true to the javac task for the 
blocks. This lowers the memory need for the build.

Before the memory used to build each block was not released by Ant, and 
kept building up till the build failed.
Now after each block build, memory is released.

Sorry for the inconvenience.

-- 
Nicola Ken Barozzi                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


RE: [Summary] CVS build and java.lang.OutOfMemoryError

Posted by Antonio Gallardo <ag...@agsoftware.dnsalias.com>.
PROBLEM:

When building the CVS version of Cocoon 2.1 you get the following message:

java.lang.OutOfMemoryError

BUILD FAILED
file:/xml-cocoon2/build.xml:1209: Compile failed; see the compiler
error output for details.

WORKAROUND:
Increase the amount of heap space allocated to the JVM. Add the -Xmx512mb
parameter to the java invocation at tools/bin/ant file.

Antonio Gallardo.



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


RE: [ERROR] CVS build failed.

Posted by David Crossley <cr...@indexgeo.com.au>.
Reinhard Poetz wrote:
> Antonio Gallardo wrote:
> ...
> > java.lang.OutOfMemoryError
> >
> > BUILD FAILED
> > file:/xml-cocoon2/build.xml:1209: Compile failed; see the compiler error
> > output for details.
> ...
> >
> > Please can someone advise what I am doing wrong?
> 
> You should find a few mails about this problem - have a look at the
> archives.
> Did you check out CVS after Ovidiu's patch?

Ovidiu provided a workaround, not a CVS patch.
Please see the following for instructions.
http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=104209770615888

--David



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


RE: [ERROR] CVS build failed.

Posted by Reinhard Poetz <re...@gmx.net>.
Antonio Gallardo wrote:

...
> BUILD FAILED
> file:/xml-cocoon2/build.xml:1209: Compile failed; see the compiler error
> output for details.
>
...
>
> Please can someone advise what I am doing wrong?
>
> Best Regards,
>
> Antonio Gallardo


Antonio,

You should find a few mails about this problem - have a look at the
archives.
Did you check out CVS after Ovidiu's patch?

Regards,
Reinhard



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org