[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

configures the initial size of the MemoryFile.

Namespace: Db4objects.Db4o.Ext
Assembly:   Db4objects.Db4o (in Db4objects.Db4o.dll)

Syntax

Visual Basic (Declaration)
Public Overridable Sub SetInitialSize ( _
	byteCount As Integer _
)
C#
public virtual void SetInitialSize (
	int byteCount
)
Visual C++
public:
virtual void SetInitialSize (
	int byteCount
)

Parameters

byteCount
System.Int32
the desired size in bytes

Remarks

configures the initial size of the MemoryFile.

Call this method before passing the MemoryFile to ExtDb4o#openMemoryFile(MemoryFile) .

This parameter can be modified to tune the maximum performance of a MemoryFile for a specific usecase. To produce the best results, test speed and memory consumption of your application with real data.