You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "R, Suchitra (GE Infra, Aviation, Non-GE)" <su...@ge.com> on 2007/05/15 12:49:06 UTC

Problem with running mvn site command

I got the following error while executing the mvn site command

...............
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure
Failure executing javac, but could not parse the error:


The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError



Failure executing javac, but could not parse the error:


The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError


[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 minute 9 seconds
[INFO] Finished at: Tue May 15 16:11:56 IST 2007
[INFO] Final Memory: 31M/63M
[INFO]
------------------------------------------------------------------------

Can anyone help me in resolving it?

Thanks,
Suchitra

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: Problem with running mvn site command

Posted by suchitra <su...@ge.com>.
Setting MAVEN_OPTS=-Xmx512m as the environment variable solved my problem.

Suchitra

-- 
View this message in context: http://www.nabble.com/Problem-with-running-mvn-site-command-tf3757770s177.html#a10635957
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: Problem with running mvn site command

Posted by Ja...@wellsfargo.com.
You can also set MAVEN_OPTS variable to define more heap size. 

-----Original Message-----
From: Gert-Jan Braas [mailto:braas@steckelfisch.nl] 
Sent: Tuesday, May 15, 2007 4:26 AM
To: Maven Users List
Subject: Re: Problem with running mvn site command

try setting the maximu heap size.

-Xmx<size>        set maximum Java heap size


I think you can do that in the mvn file (linux: which mvn)


> I got the following error while executing the mvn site command
>
> ...............
> [ERROR] BUILD FAILURE
> [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] Compilation failure
> Failure executing javac, but could not parse the error:
>
>
> The system is out of resources.
> Consult the following stack trace for details.
> java.lang.OutOfMemoryError
>
>
>
> Failure executing javac, but could not parse the error:
>
>
> The system is out of resources.
> Consult the following stack trace for details.
> java.lang.OutOfMemoryError
>
>
> [INFO]
> ----------------------------------------------------------------------
> -- [INFO] For more information, run Maven with the -e switch [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] Total time: 1 minute 9 seconds
> [INFO] Finished at: Tue May 15 16:11:56 IST 2007 [INFO] Final Memory: 
> 31M/63M [INFO]
> ----------------------------------------------------------------------
> --
>
> Can anyone help me in resolving it?
>
> Thanks,
> Suchitra
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


=========================================
Het kan zijn dat ik "Office" documenten verstuur.
Als dit in Open-Document-Formaat is, haal dan
hier: http://nl.openoffice.org/ een kopie op van OpenOffice
-----------------------------------------
Steckelfisch
Hoornsedijk 1010
9728NG Groningen
0031(0)651521379


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Problem with running mvn site command

Posted by Gert-Jan Braas <br...@steckelfisch.nl>.
try setting the maximu heap size.

-Xmx<size>        set maximum Java heap size


I think you can do that in the mvn file (linux: which mvn)


> I got the following error while executing the mvn site command
>
> ...............
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation failure
> Failure executing javac, but could not parse the error:
>
>
> The system is out of resources.
> Consult the following stack trace for details.
> java.lang.OutOfMemoryError
>
>
>
> Failure executing javac, but could not parse the error:
>
>
> The system is out of resources.
> Consult the following stack trace for details.
> java.lang.OutOfMemoryError
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1 minute 9 seconds
> [INFO] Finished at: Tue May 15 16:11:56 IST 2007
> [INFO] Final Memory: 31M/63M
> [INFO]
> ------------------------------------------------------------------------
>
> Can anyone help me in resolving it?
>
> Thanks,
> Suchitra
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


=========================================
Het kan zijn dat ik "Office" documenten verstuur.
Als dit in Open-Document-Formaat is, haal dan
hier: http://nl.openoffice.org/ een kopie op
van OpenOffice
-----------------------------------------
Steckelfisch
Hoornsedijk 1010
9728NG Groningen
0031(0)651521379


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org