public class MemoryUtilities extends Object
Modifier and Type | Method and Description |
---|---|
static void |
logMemoryUsage(String identifier,
MessageLogger logger)
Logs a message to
logger describing current memory usage of the JVM. |
public static void logMemoryUsage(String identifier, MessageLogger logger)
logger
describing current memory usage of the JVM.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 ontoCopyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.