Product Documentation

c-treeDB API for C# - Developers Guide

Previous Topic

Next Topic

Objects Disposal

The .Net Garbage Collector (GC) may interfere with internal structures held by various c-treeDB .NET objects (classes).

For this reason the automatic .Net collection has been disabled for the following classes:

  • CTSession
  • CTDatabase
  • CTTable
  • CTRecord

It is important to remember that these objects must be manually "destroyed", using the provided Dispose() method, when they are no longer referenced in applications.

Objects that are not disposed of will remain in memory resulting in a possibly significant memory Leak.

TOCIndex