3

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.

Community
  • 1
  • 1
Paul McKenzie
  • 19,646
  • 25
  • 76
  • 120

1 Answers1

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