Skip to content

OutOfMemoryError while executing a PEaC containing a lot of tests

This was first seen in our production environment (1.3.1) with a PEaC calling the generator on an iteration of 500 tests.

The Jenkins container had a limit of 2 cpu / 4Gi of mem.

A second try was made on a local environment (1.3.2.IT1-SNAPSHOT) (16 Gb in total for Jenkins/an orchestrator/a TM/a JUnit execution environment) with the same PEaC, same result.

The stack :

image

A loop on jstat -gc and jcmd GC.heap_info every minute on the second try :

stats