You can also set MAVEN_OPTS variable to define more heap size. 

-----Original Message-----
From: Gert-Jan Braas [mailto:[EMAIL PROTECTED] 
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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


=========================================
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to