2012/11/27 Anders Hammar <[email protected]>:
> How do I interpret the "Final Memory" reported by Maven? "66M/188M" for
> example, what does each of the figures mean?

Runtime r = Runtime.getRuntime();
long MB = 1024 * 1024;
"Final Memory: " + ( r.totalMemory() - r.freeMemory() ) / MB + "M/" +
r.totalMemory() / MB + "M"

human readable :-)
used memory/total memory

>
> /Anders



--
Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to