All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opentripplanner.common.DebugUtils Maven / Gradle / Ivy

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 - 2024 Weber Informatics LLC | Privacy Policy