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 880 times
1 Answers
3
try to put this in your ~/.bashrc:
export MAVEN_OPTS="-Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m"
Ajinkya
- 21,823
- 33
- 109
- 156
Rafael Sanches
- 1,825
- 21
- 28