db4o |

# MemoryFile.setIncrementSizeBy Method

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

public virtual void setIncrementSizeBy(
int byteCount
);

#### Parameters

byteCount
  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 openMemoryFile .
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.

#### See Also

MemoryFile Class | com.db4o.ext Namespace