added CombinedDataStorageWithMemoryProfiling for monitoring memory