Added Diagnostic
Added statistic min,actual,max heap