You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "parita jivani (Jira)" <ji...@apache.org> on 2022/06/20 06:29:00 UTC

[jira] [Created] (SUREFIRE-2103) and causing Java heap space issue.

parita jivani created SUREFIRE-2103:
---------------------------------------

             Summary: <system-err> and <system-info> causing Java heap space issue.
                 Key: SUREFIRE-2103
                 URL: https://issues.apache.org/jira/browse/SUREFIRE-2103
             Project: Maven Surefire
          Issue Type: Improvement
          Components: Maven Failsafe Plugin
    Affects Versions: 3.0.0-M6, 3.0.0-M5
            Reporter: parita jivani


We have Java test projects, which has different integration and UI tests. We are upgrading failsafe and surefire version from 2.17 to 3.0.0-M5. After upgrade few projects were failing with Java heap space. After analysing the issue,  we got to know that failsafe reports creation is causing the memory issue. Failsafe plugin is writing <system-err> and <system-info> elements with log details. In our case, build logs contains huge data of script execution logs(around >= 1GB). While creating failsafe report, failsafe plugin is writing entire logs to *.xml report and causing failure due to java heap space.

 

For issue resolution my suggestion is to get some configuration to unable/disable option for <system-err> tags would really help.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)