How to find the peak memory usage in a maven build

Viewed 4709

I need to find out the peak memory usage of a maven build, can I rely on the final output given by successful maven build. Does 43M indicates the peak memory usage during the maven build. Thanks in advance.

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 16.222 s
[INFO] Finished at: 2017-07-31T19:10:04+05:30
[INFO] Final Memory: 43M/636M
[INFO] ------------------------------------------------------------------------
1 Answers
Related