jira-importer commented on issue #166: URL: https://github.com/apache/maven-source-plugin/issues/166#issuecomment-2959545693
**[Stephan Schroevers](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=stephan202)** commented [Karl Heinz Marbaise](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=khmarbaise), that's an interesting finding w.r.t. memory usage of newer Maven versions! Unfortunately it doesn't seem to be related to this issue, since switching to Maven 3.0.5 doesn't change the test result in any meaningful sense (new GC logs [attached|^memory-usage-test-gc-logs-maven-3.0.5.tgz]): ``` $ mvn -version Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 14:51:28+0100) Maven home: /home/sschroevers/tools/mvn30 Java version: 1.8.0_77, vendor: Oracle Corporation Java home: /home/sschroevers/tools/jdk1.8.0_77/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "3.19.0-32-generic", arch: "amd64", family: "unix" $ ./memory-usage-test.sh Testing maven-source-plugin:2.4:jar-no-fork with 128m: Total time: 2.162s Final Memory: 27M/101M Testing maven-source-plugin:2.4:jar-no-fork with 256m: Total time: 2.340s Final Memory: 30M/214M Testing maven-source-plugin:2.4:jar-no-fork with 512m: Total time: 2.181s Final Memory: 30M/327M Testing maven-source-plugin:2.4:jar-no-fork with 1024m: Total time: 2.341s Final Memory: 32M/429M Testing maven-source-plugin:2.4:jar-no-fork with 2048m: Total time: 2.226s Final Memory: 32M/429M Testing maven-source-plugin:2.4:jar-no-fork with 4096m: Total time: 2.234s Final Memory: 32M/429M Testing maven-source-plugin:3.0.0:jar-no-fork with 128m: Total time: 2.608s Final Memory: 62M/114M java.lang.OutOfMemoryError: Java heap space Testing maven-source-plugin:3.0.0:jar-no-fork with 256m: Total time: 12.324s Final Memory: 27M/236M Testing maven-source-plugin:3.0.0:jar-no-fork with 512m: Total time: 9.124s Final Memory: 28M/455M Testing maven-source-plugin:3.0.0:jar-no-fork with 1024m: Total time: 5.437s Final Memory: 28M/687M Testing maven-source-plugin:3.0.0:jar-no-fork with 2048m: Total time: 5.056s Final Memory: 29M/884M Testing maven-source-plugin:3.0.0:jar-no-fork with 4096m: Total time: 4.386s Final Memory: 32M/1493M ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
