Re: JAR/WAR file wasting memory if building with Maven

2015-07-06 Thread Kristian Rosenvold
Note that the memory leak was fixed in 2.10.3 in https://github.com/codehaus-plexus/plexus-archiver/issues/6 . Issues #5 which Igor mentioned may or may not be the same problem. (Btw 3.x has not yet received this fix...) K 2015-07-02 23:25 GMT+02:00 Igor Fedorenko : > Maybe related > https:/

Re: JAR/WAR file wasting memory if building with Maven

2015-07-02 Thread Igor Fedorenko
Maybe related https://github.com/codehaus-plexus/plexus-archiver/issues/5 -- Regards, Igor On Thu, Jul 2, 2015, at 05:11 PM, Jason van Zyl wrote: > As for how maven-archiver works exactly these days I’m not sure. Anything > I care about I have shifted over to using takari-archiver and it streams

Re: JAR/WAR file wasting memory if building with Maven

2015-07-02 Thread Jason van Zyl
As for how maven-archiver works exactly these days I’m not sure. Anything I care about I have shifted over to using takari-archiver and it streams directly to disk. But I don’t think maven-archiver spools into memory unless Kristian’s recent changes do anything in memory for the faster archive c

JAR/WAR file wasting memory if building with Maven

2015-07-02 Thread Tibor Digana
Is the content of JAR file stored in memory while building entire multi-module project? Is the stream still stored in the Heap all the time? I remember this was an issue in Maven while performing deployment or release. I would expect the stream is GCed when child A POM is completed and therefore ch