add free_memoroy check for XenServer