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

configures the size the MemoryFile is to be enlarged by, if it grows beyond the current size.

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

Syntax

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

Parameters

byteCount
System.Int32
the desired size in bytes

Remarks

configures the size the MemoryFile is to be enlarged by, if it grows beyond the current size.

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 the speed of your application with real data.