Package com.jme3.util

Class MemoryUtils

java.lang.Object
com.jme3.util.MemoryUtils

public class MemoryUtils extends Object
See thread http://jmonkeyengine.org/forum/topic/monitor-direct-memory-usage-in-your-app/#post-205999
  • Method Details

    • getDirectMemoryUsage

      public static long getDirectMemoryUsage()
      Returns:
      the direct memory used in byte.
    • getDirectMemoryCount

      public static long getDirectMemoryCount()
      Returns:
      the number of direct buffer used
    • getDirectMemoryTotalCapacity

      public static long getDirectMemoryTotalCapacity()
      Returns:
      Should return the total direct memory available, result seem off see post http://jmonkeyengine.org/forum/topic/monitor-direct-memory-usage-in-your-app/#post-205999