public static void logMemoryUsage(Logger logger, LogLevel priority) {
		if (LoggerWrap.isEnabledFor(logger, priority)) {
			// Getting the runtime reference from system
			Runtime runtime = Runtime.getRuntime();
			
			LoggerWrap.log(logger, priority, "Memory (MB) Used/Total/Max: "
					+ (runtime.totalMemory() - runtime.freeMemory())
					/ megaBytes + "/" + runtime.totalMemory() / megaBytes + "/"
					+ runtime.maxMemory() / megaBytes);
		}
	}
public static void logMemoryUsage(Logger logger, LogLevel priority) {
		if (LoggerWrap.isEnabledFor(logger, priority)) {
			
			Runtime runtime = Runtime.getRuntime();
			
			LoggerWrap.log(logger, priority, "Memory (MB) Used/Total/Max: "
					+ (runtime.totalMemory() - runtime.freeMemory())
					/ megaBytes + "/" + runtime.totalMemory() / megaBytes + "/"
					+ runtime.maxMemory() / megaBytes);
		}
	}
public static void logMemoryUsage ( Logger logger , LogLevel priority ) { if ( LoggerWrap . isEnabledFor ( logger , priority ) ) { // Getting the runtime reference from system Runtime runtime = Runtime . getRuntime ( ) ; LoggerWrap . log ( logger , priority , "Memory (MB) Used/Total/Max: " + ( runtime . totalMemory ( ) - runtime . freeMemory ( ) ) / megaBytes + "/" + runtime . totalMemory ( ) / megaBytes + "/" + runtime . maxMemory ( ) / megaBytes ) ; } }
Log the current total memory usage with the specified priority.

@param logger
@param priority
Log the current total memory usage with the specified priority .