-1

Triggering a CI build from git to jenkins Using tomcat 7 server,maven 3,jdk 7

1 Answers1

2

Increase your permanent memory space by setting the JVM arguments like this

-XX:PermSize=512m  -XX:MaxPermSize=1028m

You could also increase the heap size like this

-Xms512m -Xmx1g

This would allocate in total of 2 GB memory (1g max for heap space and 1g max for perm generation space)

Jay
  • 9,189
  • 12
  • 56
  • 96