Class GCUtil


  • public abstract class GCUtil
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long maxMemory  
      private static java.lang.Runtime runtime  
    • Constructor Summary

      Constructors 
      Constructor Description
      GCUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void gc()  
      static void purgeMemory()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • runtime

        private static final java.lang.Runtime runtime
      • maxMemory

        private static final long maxMemory
    • Constructor Detail

      • GCUtil

        public GCUtil()
    • Method Detail

      • gc

        public static void gc()
      • purgeMemory

        public static void purgeMemory()