Percentage fix in free memory check