public static void setTrackDirectMemoryEnabled(boolean enabled) {
        trackDirectMemory = enabled;
    }
Set it to true if you want to enable direct memory tracking for debugging
purpose. Default is false. To print direct memory usage use
BufferUtils.printCurrentDirectMemory(StringBuilder store);

@param enabled true to enable tracking, false to disable it
(default=false)
jme3-core/src/main/java/com/jme3/util/BufferUtils.java