Open k-ahmedhm opened 11 months ago
Not disposing when a collection is big, like more than one million items :
//Create database instance var db = new LiteDatabase(new ConnectionString { Filename = _dbConnectionString, Connection = ConnectionType.Shared }, mapper);
//Retrieving one million items
//this line is not freeing memory db.Dispose();
Not disposing when a collection is big, like more than one million items :
//Create database instance var db = new LiteDatabase(new ConnectionString { Filename = _dbConnectionString, Connection = ConnectionType.Shared }, mapper);
//Retrieving one million items
//this line is not freeing memory db.Dispose();