Summary
turns weak reference management on or off.
- Assembly
- Db4objects
.Db4o-2010 .dll - Namespace
- Db4objects
.Db4o .Config - Containing Type
- ICommonConfiguration
Syntax
bool WeakReferences { set; }
Remarks
turns weak reference management on or off.
This method must be called before opening a database.
Performance may be improved by running db4o without using weak references durring memory management at the cost of higher memory consumption or by alternatively implementing a manual memory management scheme using
Setting the value to false causes db4o to use hard references to objects, preventing the garbage collection process from disposing of unused objects.
The default setting is true.
This method must be called before opening a database.
Performance may be improved by running db4o without using weak references durring memory management at the cost of higher memory consumption or by alternatively implementing a manual memory management scheme using
Db4objects.Db4o.Ext.IExtObjectContainer.Purge(System.Object)
Setting the value to false causes db4o to use hard references to objects, preventing the garbage collection process from disposing of unused objects.
The default setting is true.
Value
Type | Description |
---|---|
bool |