Final Memory Output of Maven

Viewed 4223

Can someone explain me what does the Final Memory means in the maven output:-

[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 09:17 min (Wall Clock)
[INFO] Finished at: 2017-07-03T17:34:54+05:30
[INFO] Final Memory: 596M/2016M
[INFO] ------------------------------------------------------------------------

Is it the peak memory usage of maven during the execution? If yes then when I execute maven like below:-

/usr/bin/time -l mvn clean package

it reports maximum resident set size as 3671834624 bytes.

Can someone also let me know why the two numbers are different and how can I obtain the peak memory usage of a maven execution?

Environment:-

  • OS - MacOSX Sierra - 10.12.5 (16F73)
  • Maven - 3.5
1 Answers
Related