Closed jeremy-collette closed 4 years ago
Ah! I should have endured for another 5 minutes. I was able to limit the filesize using a combination of the DatabasePageSize
and DatabaseMaxPages
properties of the DatabaseConfig
linked above.
e.g.
var config = new DatabaseConfig();
config.DatabasePageSize = 4096;
config.DatabaseMaxPages = 2000;
var persistentDictionary = new PersistentDictionary<string, string>(
directory: "Test",
customConfig: config);
Hi all,
I've been trying to work out how to somehow configure the PersistentDictionary to limit the max file on disk. I've looked at DatabaseConfig.cs and played around, but no luck.
Any suggestions?
Cheers