|
||||||||||||||
|
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira |
||||||||||||||
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

We have observed NegativeArraySizeExceptions along with java OutOfMemory errors while using Jenkins CLI to schedule build jobs from a master job. Followed the recommendations to increase heap size, but continued to get java heap errors. After enabling "-XX:+HeapDumpOnOutOfMemoryError", there have been some heap dumps produced that are smaller than our max heap size. Using these JVM args in Jenkins 1.551:
<jvmarg value="-Xmx1024m" />
<jvmarg value="-XX:+HeapDumpOnOutOfMemoryError" />
<jvmarg value="-XX:MaxPermSize=512m" />
Heap dumps are attached.