Am 04/18/16 um 01:39 schrieb Christian Schulte: > Am 04/17/16 um 18:08 schrieb Bernd Eckenfels: >> Hello, >> >> I wondered about that as well. It was discussed 2012 on maven-dev. The >> statement looks like this: >> >> # Runtime r = Runtime.getRuntime(); >> # long MB = 1024 * 1024; >> # "Final Memory: " + ( r.totalMemory() - r.freeMemory() ) / MB + "M/" + >> r.totalMemory() / MB + "M" > > It should be possible to get at more detailed information using the > memory related classes of package 'java.lang.management'. > > Regards, >
Those numbers tell you nothing about how much memory "the build" used. A lot of things are not executed inside the Maven VM. javadoc, jarsigner, gpg, etc. Regards, --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org