It's MAVEN_OPTS

Cheers,

Bruno

2009/8/13 kopemor <developm...@knollenstein.nl>:
>
> Hello,
>
> I am getting "java.lang.OutOfMemoryError: Java heap space" exception when I
> compile my project using Maven. I have tried several options:
>
> 1. Setting variable: export MAVEN_OPT=-Xmx1024m
>
> 2. Using Maven compile plugin:
>     <plugin>
>       <groupId>org.apache.maven.plugins</groupId>
>        <artifactId>maven-compiler-plugin</artifactId>
>        <configuration>
>          <source>1.5</source>
>          <target>1.5</target>
>          <encoding>UTF-8</encoding>
>          <argLine>-Xms512m</argLine>
>          <argLine>-Xmx1024m</argLine>
>          <disableXmlReport>true</disableXmlReport>
>        </configuration>
>      </plugin>
>
> I have even tried to put max heap size to 4094, the result is the same.
>
> Any help?
>
> --
> View this message in context: 
> http://www.nabble.com/Maven-java.lang.OutOfMemoryError-tp24952498p24952498.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

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

Reply via email to