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
  • 18,967
  • 25
  • 73
  • 118

1 Answers1

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