Add handling for global zone in check_mem (thanks @Napsty)