I am running Jetty during some integration tests in daemon mode and am getting an out-of-memory error. So I'd like to set the heap size to something substantial. This question is a bit like this one except I am running in daemon mode.
Asked
Active
Viewed 894 times
1 Answers
3
try to put this in your ~/.bashrc:
export MAVEN_OPTS="-Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m"

Ajinkya
- 22,324
- 33
- 110
- 161

Rafael Sanches
- 1,823
- 21
- 28