You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Jelinski (JIRA)" <ji...@apache.org> on 2016/07/25 09:12:20 UTC

[jira] [Created] (CXF-6976) High memory footprint when maven assembly plugin is used together with cxf-codegen-plugin

Daniel Jelinski created CXF-6976:
------------------------------------

             Summary: High memory footprint when maven assembly plugin is used together with cxf-codegen-plugin
                 Key: CXF-6976
                 URL: https://issues.apache.org/jira/browse/CXF-6976
             Project: CXF
          Issue Type: Bug
          Components: Tooling
    Affects Versions: 3.1.6
         Environment: Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T17:41:47+01:00)
Maven home: C:\projects\build\apache-maven-3.3.9\bin\..
Java version: 1.8.0_102, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.8.0_102\jre
Default locale: en_US, platform encoding: Cp1250
OS name: "windows server 2008 r2", version: "6.1", arch: "amd64", family: "dos"
            Reporter: Daniel Jelinski


When assembly plugin is used together with cxf codegen plugin, it is using up massive amount of memory, leading to frequent OOM errors and long build times. When used alone, both plugins behave nicely.
Attached POM can be used to replicate the issue. When CXF plugin is commented out, assembly plugin finishes within a few seconds, using up minimal amount of memory. When the POM is executed as provided, Maven throws OOM when given 2GB of memory.
See also MASSEMBLY-825 for related assembly-plugin report.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)