Adding value verifications for mem_limit string representation