Out of memory error during CI execution

This page describes how to resolve an Out of Memory error you may experience when running test cases from Jenkins or any other CI tool. You get the following Out of Memory error when running test cases from Jenkins or any other CI tool:

c:\Jenkins\workspace\Develop\CICD Jobs\Provar ART against UAT\build\Provar\local\ANT\ant\CPQ_Parcels.xml:27: java.lang.OutOfMemoryError: Java heap space

The test cases appear to run well from the CI tool but the test run report (PDF) does not get created due to the Out of Memory error.



This error can be caused by including a lot of screenshots in test cases. To resolve this error we recommend increasing the heap size memory in the Jenkins job.

Please configure it as follows by updating the Java Options:

Complete the New form. We suggest a name of ‘Provar Metadata’ but this can be changed to whatever naming standard is preferred.

We recommend increasing these to:




Then save the changes and re-try execution. This should resolve the issue.

Review Provar on G2
Documentation library

Other available resources

Looking for something different?

We use cookies to better understand how our website is used so we can tailor content for you. For more information about the different cookies we use please take a look at our Privacy Policy.

Scroll to Top