Triggering a CI build from git to jenkins Using tomcat 7 server,maven 3,jdk 7
Asked
Active
Viewed 1,676 times
-1
-
Have you tried increasing your memory? Is it Jenkins or your maven build that gets OOM? http://stackoverflow.com/questions/11341494/how-do-i-properly-set-the-permgen-size for example.. – Peter Svensson Apr 16 '14 at 11:43
-
can you tell java version and IDE name and version – learner Apr 16 '14 at 11:45
-
maven build in jenkins – user3485459 Apr 16 '14 at 12:07
1 Answers
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