* @see org.apache.james.protocols.api.CommandHandler#onCommand(org.apache.james.protocols.api.ProtocolSession, org.apache.james.protocols.api.Request)
*/
public Response onCommand(RemoteManagerSession session, Request request) {
RemoteManagerResponse response = new RemoteManagerResponse("Current memory statistics:");
response.appendLine("\tFree Memory: " + Runtime.getRuntime().freeMemory());
response.appendLine("\tTotal Memory: " + Runtime.getRuntime().totalMemory());
response.appendLine("\tMax Memory: " + Runtime.getRuntime().maxMemory());
if ("-gc".equalsIgnoreCase(request.getArgument())) {
System.gc();
response.appendLine("And after System.gc():");