Description
After investigating JDK 1.7 Out-of-Memory build errors on Apache Jenkins Builds, I found that we does not set Surefire plugin option properly. As a result, Surefire JVM has used default JVM options, 1GB, and fails during GC. After setting properly, the build passed.
I did the above experiments on an Ubuntu VM with 4GB RAM and OpenJDK 1.7. After resolving this issue, we can recover JDK 1.7 on our Apache Jenkins build again. It's a valuable for us to ensure JDK compatibility.
Attachments
Issue Links
- links to