G
Guest
I have a need to manage a rather large set of indexed objects. Currently I'm
doing this in memory with a Dictionary<> and persisting to a text file, but
it has an unpleasant habit of using very large amounts of memory (several GB).
So I would like to offload these objects onto disk (access time is less
critical than memory in this case).
In the olden days I would just have picked up an open source B-Tree library
for C++, but I can't find one for C# (not at least, that isn't hidden inside
something terribly complicated!).
I could use SQLExpress, but this seems overkill (and has potentially high
overheads). Also, I could end up with billions of records which would put me
in paid for territory...
Can anyone point me to some way of read write persisting of objects with
keyed access (and ideally some modest amount of caching)...
Thanks
Iain
doing this in memory with a Dictionary<> and persisting to a text file, but
it has an unpleasant habit of using very large amounts of memory (several GB).
So I would like to offload these objects onto disk (access time is less
critical than memory in this case).
In the olden days I would just have picked up an open source B-Tree library
for C++, but I can't find one for C# (not at least, that isn't hidden inside
something terribly complicated!).
I could use SQLExpress, but this seems overkill (and has potentially high
overheads). Also, I could end up with billions of records which would put me
in paid for territory...
Can anyone point me to some way of read write persisting of objects with
keyed access (and ideally some modest amount of caching)...
Thanks
Iain