Package org.anchoranalysis.core.system
Class MemoryUtilities
Object
MemoryUtilities
Logs a message about approximate memory (RAM) usage of the JVM.
- Author:
- Owen Feehan
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
logMemoryUsage
(String identifier, MessageLogger logger) Logs a message tologger
describing current memory usage of the JVM.
-
Method Details
-
logMemoryUsage
Logs a message tologger
describing current memory usage of the JVM.- Parameters:
identifier
- a human-readable string identifying the timepoint in the execution of the program where memory is recorded.logger
- the logger to record the message onto
-