Added Support for RAM set by VM

Added Support for RAM set by VM