You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by ant elder <an...@gmail.com> on 2007/08/15 12:35:22 UTC

Error while executing the compiler - Java heap space

I always get a "Java heap space" error during the build while the itests are
running these days. Runs fine if i build from within the itests folder but
building from the top sca folder always fails. Does anyone else ever see
this? Anyone know if there's something i can fiddle with in the mvn config
to try to fix it?

   ...ant

Re: Error while executing the compiler - Java heap space

Posted by ant elder <an...@gmail.com>.
I've tried including it in the sca pom.xml but that doesn't seem to help,
only when set at the cmd line as an environment variable does it fix the
problem. Anyone know why not?

   ...ant

On 8/15/07, Luciano Resende <lu...@gmail.com> wrote:
>
> You can also increase the memory options in the sca pom, in the
> surefire plugin configuration section.
>
> [1] https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/pom.xml
>
> On 8/15/07, ant elder <an...@gmail.com> wrote:
> > On 8/15/07, Simon Laws <si...@googlemail.com> wrote:
> > >
> > > On 8/15/07, ant elder <an...@gmail.com> wrote:
> > > >
> > > > I always get a "Java heap space" error during the build while the
> itests
> > > > are
> > > > running these days. Runs fine if i build from within the itests
> folder
> > > but
> > > > building from the top sca folder always fails. Does anyone else ever
> see
> > > > this? Anyone know if there's something i can fiddle with in the mvn
> > > config
> > > > to try to fix it?
> > > >
> > > >    ...ant
> > > >
> > > Hi ant
> > >
> > > I don't know if this is exactly the same issue that Luciano was seeing
> in
> > > the Continuum build but I remember he was playing about with
> > > MAVEN_OPTS="-Xmx1024m -Xms512m" things. I looked back at the mails and
> see
> > > him trying to find out how to set these on the the Continuum machine.
> > >
> > > Simon
> >
> >
> > Thanks, that does the trick.
> >
> >    ...ant
> >
>
>
> --
> Luciano Resende
> Apache Tuscany Committer
> http://people.apache.org/~lresende
> http://lresende.blogspot.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>

Re: Error while executing the compiler - Java heap space

Posted by Luciano Resende <lu...@gmail.com>.
You can also increase the memory options in the sca pom, in the
surefire plugin configuration section.

[1] https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/pom.xml

On 8/15/07, ant elder <an...@gmail.com> wrote:
> On 8/15/07, Simon Laws <si...@googlemail.com> wrote:
> >
> > On 8/15/07, ant elder <an...@gmail.com> wrote:
> > >
> > > I always get a "Java heap space" error during the build while the itests
> > > are
> > > running these days. Runs fine if i build from within the itests folder
> > but
> > > building from the top sca folder always fails. Does anyone else ever see
> > > this? Anyone know if there's something i can fiddle with in the mvn
> > config
> > > to try to fix it?
> > >
> > >    ...ant
> > >
> > Hi ant
> >
> > I don't know if this is exactly the same issue that Luciano was seeing in
> > the Continuum build but I remember he was playing about with
> > MAVEN_OPTS="-Xmx1024m -Xms512m" things. I looked back at the mails and see
> > him trying to find out how to set these on the the Continuum machine.
> >
> > Simon
>
>
> Thanks, that does the trick.
>
>    ...ant
>


-- 
Luciano Resende
Apache Tuscany Committer
http://people.apache.org/~lresende
http://lresende.blogspot.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: Error while executing the compiler - Java heap space

Posted by ant elder <an...@gmail.com>.
On 8/15/07, Simon Laws <si...@googlemail.com> wrote:
>
> On 8/15/07, ant elder <an...@gmail.com> wrote:
> >
> > I always get a "Java heap space" error during the build while the itests
> > are
> > running these days. Runs fine if i build from within the itests folder
> but
> > building from the top sca folder always fails. Does anyone else ever see
> > this? Anyone know if there's something i can fiddle with in the mvn
> config
> > to try to fix it?
> >
> >    ...ant
> >
> Hi ant
>
> I don't know if this is exactly the same issue that Luciano was seeing in
> the Continuum build but I remember he was playing about with
> MAVEN_OPTS="-Xmx1024m -Xms512m" things. I looked back at the mails and see
> him trying to find out how to set these on the the Continuum machine.
>
> Simon


Thanks, that does the trick.

   ...ant

Re: Error while executing the compiler - Java heap space

Posted by Simon Laws <si...@googlemail.com>.
On 8/15/07, ant elder <an...@gmail.com> wrote:
>
> I always get a "Java heap space" error during the build while the itests
> are
> running these days. Runs fine if i build from within the itests folder but
> building from the top sca folder always fails. Does anyone else ever see
> this? Anyone know if there's something i can fiddle with in the mvn config
> to try to fix it?
>
>    ...ant
>
Hi ant

I don't know if this is exactly the same issue that Luciano was seeing in
the Continuum build but I remember he was playing about with
MAVEN_OPTS="-Xmx1024m -Xms512m" things. I looked back at the mails and see
him trying to find out how to set these on the the Continuum machine.

Simon