
org.opentripplanner.common.DebugUtils Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of otp Show documentation
Show all versions of otp Show documentation
The OpenTripPlanner multimodal journey planning system
package org.opentripplanner.common;
public class DebugUtils {
public static void mem() {
System.gc();
long memoryUsed = Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory();
System.out.println("memory used: " + memoryUsed);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy