Posts tagged 'gc'
To Collect or not to Collect
One of the first things it seems most people do when they get the code to VistaDB is remove the GC.Collect() call we have in the MinimizeMemory code for the Tree class. This class specifically is used to hold portions of the database, indexes, etc in RAM. Periodically it is combed to attempt and minimize...
Continue reading "To Collect or not to Collect"
The GC does not solve all memory leaks
Using statements and memory leaks to databases This question was recently asked in the forum and I see it so often in code samples sent in by users that I thought I would take a little time to discuss using statements and how they help solve memory leaks with database code. I remember when I first started...
Continue reading "The GC does not solve all memory leaks"
