get VM and Physical Memory