void function ( ) { double loc0 = ( Runtime . getRuntime ( ) . totalMemory ( ) - Runtime . getRuntime ( ) . freeMemory ( ) ) / 1024d / 1024d ; if ( loc0 > maxMemory ) { maxMemory = loc0 ; } }
method to check the memory usage and keep the maximum memory usage . concode_field_sep long endTimestamp concode_elem_sep double maxMemory concode_elem_sep long startTimestamp concode_elem_sep Map<Integer,Integer> mapItemToTWU concode_elem_sep int item concode_elem_sep int utility concode_elem_sep BufferedWriter writer concode_elem_sep int huiCount concode_field_sep int compareItems concode_elem_sep void runAlgorithm concode_elem_sep UtilityList construct concode_elem_sep void huiMiner concode_elem_sep Element findElementWithTID concode_elem_sep void writeOut concode_elem_sep void printStats