configures the initial size of the MemoryFile.
[Visual Basic] Overridable Public Sub setInitialSize( _ ByVal byteCount As Integer _ ) [C#] public virtual void setInitialSize( int byteCount ); [C++] public: virtual void setInitialSize( int byteCount ); [JScript] public virtual function setInitialSize( int byteCount );
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.
MemoryFile Class | com.db4o.ext Namespace