question: private void printMemory ( Class < ? extends Test > testClass ) { Runtime runtime = Runtime . getRuntime ( ) ; long total = runtime . totalMemory ( ) ; long free = runtime . freeMemory ( ) ; long used = total - free ; Log . d ( TAG , "Total memory  : " + total ) ; Log . d ( TAG , "Used memory   : " + used ) ; Log . d ( TAG , "Free memory   : " + free ) ; Log . d ( TAG , "Now executing : " + testClass . getName ( ) ) ; }
target:  Dumps some memory info.