You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Julien Henry <ju...@capgemini.com> on 2006/05/19 10:34:06 UTC
Java heap space with surefire-report
Hi,
When I add
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>surefire-report-maven-plugin</artifactId>
</plugin>
to my pom.xml
And run
mvn site
I get :
...
[INFO] Generate "Maven Surefire Report" report.
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Java heap space
[INFO]
------------------------------------------------------------------------
[INFO] Trace
java.lang.OutOfMemoryError: Java heap space
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2 minutes 35 seconds
[INFO] Finished at: Fri May 19 10:32:00 CEST 2006
[INFO] Final Memory: 20M/63M
[INFO]
------------------------------------------------------------------------
Is it a bug or a bad configuration ?
--
_________________________________________________________________________
Julien HENRY | **Capgemini Sud **| Nice
www.fr.capgemini.com <http://www.capgemini.com/>
Porte de l’Arénas – Entrée B | 455 Promenade des Anglais | 06200 Nice
**Join the Collaborative Business Experience**** **
_________________________________________________________________________
This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Java heap space with surefire-report
Posted by Julien Henry <ju...@capgemini.com>.
Tanks very much. It was the solution.
Thorsten Heit a écrit :
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi Julien,
>
>
>> ------------------------------------------------------------------------
>> [ERROR] FATAL ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Java heap space
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Trace
>> java.lang.OutOfMemoryError: Java heap space
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 2 minutes 35 seconds
>> [INFO] Finished at: Fri May 19 10:32:00 CEST 2006
>> [INFO] Final Memory: 20M/63M
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> Is it a bug or a bad configuration ?
>>
>
> Have you tried to set MAVEN_OPTS=-Xmx256m (or a higher value) before
> starting Maven?
>
>
> Regards
>
> Thorsten
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (MingW32)
>
> iD8DBQFEbYY6QvObkgCcDe0RAg/uAKDGWebyoP11TD7ReKl40NsvDvj1KwCfc9JI
> m1sjaaLijkrwNKutKXuAUa4=
> =byiV
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
_________________________________________________________________________
Julien HENRY | **Capgemini Sud **| Nice
www.fr.capgemini.com <http://www.capgemini.com/>
Porte de l’Arénas – Entrée B | 455 Promenade des Anglais | 06200 Nice
**Join the Collaborative Business Experience**** **
_________________________________________________________________________
This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Java heap space with surefire-report
Posted by Thorsten Heit <th...@xtramind.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Julien,
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Java heap space
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.OutOfMemoryError: Java heap space
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 2 minutes 35 seconds
> [INFO] Finished at: Fri May 19 10:32:00 CEST 2006
> [INFO] Final Memory: 20M/63M
> [INFO]
> ------------------------------------------------------------------------
>
> Is it a bug or a bad configuration ?
Have you tried to set MAVEN_OPTS=-Xmx256m (or a higher value) before
starting Maven?
Regards
Thorsten
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)
iD8DBQFEbYY6QvObkgCcDe0RAg/uAKDGWebyoP11TD7ReKl40NsvDvj1KwCfc9JI
m1sjaaLijkrwNKutKXuAUa4=
=byiV
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org