Use percentage and added esx memory support