Set memory types