Fix for [JENKINS-18950] issue (reports => running out of memory).