I am sure there is a simple answer to this, but I sure can't find it. I have found myself practicly writing a database, but its all in memory.
I am using MSVC 6 MFC template class CMap. It works great, does what I need and its fast. However, my dataset is large, say 20MB or so and I don't want to clog up the memory.
I store the data on disk, but when I serialize in my CMap it sucks the whole file into memory.
Is there a way to get the benefits of CMap functionality with the data being accessed directly from the file?