Can I use it as command line argument instead of setting environment
variable?


dchicks wrote:
> 
> set the MAVEN_OPTS environment variable...
> 
>     export MAVEN_OPTS="-Xms256m -Xmx1024m"
> 
> 
> Something like that.
> 
> 
> youhaodeyi wrote:
>> I got a maven project and compile it by maven. Then I got the error
>> "java.lang.OutOfMemoryError: Java heap space". How can I set the memory
>> size
>> running mvn command?
>>
>> thanks.
>>   
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-can-I-set-maven-memory-size--tp24384381p24385525.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to