You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Mirabito, Massimo" <MC...@CDC.GOV> on 2004/08/23 16:58:53 UTC
Out of mermory
Hi,
How do I resolve an out of memory when building a site. This is what I
get on the console. The machine has 1GB of physical memory. Are there
any arguments I can pass to maven.
Root cause
java.lang.OutOfMemoryError
Root cause
java.lang.OutOfMemoryError
Final Memory: 157M/158M
Thanks you for your kind reply
max
Re: Out of mermory
Posted by Shinobu Kawai <sh...@ieee.org>.
Hi Mirabito,
> How do I resolve an out of memory when building a site. This is what I
> get on the console. The machine has 1GB of physical memory. Are there
> any arguments I can pass to maven.
You can set MAVEN_OPTS to something like "-Xmx512m" and it will be
passed to the JVM.
Best regards,
-- Shinobu Kawai
--
Shinobu Kawai <shinobu@ieee.org, shinobu@computer.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Out of mermory
Posted by mruff <mr...@infometis.ch>.
Hi Massimo
yep, there is a property: MAVEN_OPTS
My build scripts loos like:
set MAVEN_OPTS=-Xmx1024m
call maven -Dversion=development
on windows
or
export MAVEN_OPTS=-Xmx1024m
maven -Dversion=development
on linux
>Hi,
>
>How do I resolve an out of memory when building a site. This is what I
>get on the console. The machine has 1GB of physical memory. Are there
>any arguments I can pass to maven.
>
>
>
>Root cause
>
>java.lang.OutOfMemoryError
>
>Root cause
>
>java.lang.OutOfMemoryError
>
>Final Memory: 157M/158M
>
>
>
>
>
>
>
>Thanks you for your kind reply
>
>
>
>max
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org