Memory-based session storage is typically used to maintain a high-performance FIX session when persisting of a sessions state and messages to the file system is not required.
To create such a session, the storageType parameter in the OnixS::FIX::Session::Session constructor has to be set to the OnixS::FIX::SessionStorageType::MemoryBased value.