[MNG-6340] [Performance]To make System.gc() call configurable in target

summary code
 o Just removed the System.gc() call.
This commit is contained in:
Karl Heinz Marbaise 2018-02-04 11:27:33 +01:00
parent 5988085525
commit 99e66229ac
1 changed files with 0 additions and 8 deletions

View File

@ -233,14 +233,6 @@ private void logStats( MavenSession session )
logger.info( "Total time: " + formatDuration( time ) + wallClock );
logger.info( "Finished at: " + formatTimestamp( finish ) );
System.gc();
Runtime r = Runtime.getRuntime();
long mb = 1024 * 1024;
logger.info( "Final Memory: " + ( r.totalMemory() - r.freeMemory() ) / mb + "M/" + r.totalMemory() / mb + "M" );
}
@Override