mirror of https://github.com/apache/maven.git
[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:
parent
5988085525
commit
99e66229ac
|
@ -233,14 +233,6 @@ public class ExecutionEventLogger
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue