elk-util-parent/elk-util-logging/src/main/java/org/semanticweb/elk/util/logging/Statistics.java
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)) {
			// 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