Lazy instantiating memoryStorage