1. 程式人生 > >jenkins 對 maven對應的 jvm 配置引數

jenkins 對 maven對應的 jvm 配置引數

If you get an java.lang.OutOfMemoryError, you can set the MAVEN_OPTS environment variable, like this in *nix environments:

export MAVEN_OPTS="-Xmx512m"

On Windows environments, avoid the double-quotes, since they get misinterpreted.

set MAVEN_OPTS=-Xmx512m