Track byte count in leak detection in java debug mode