public void SetCommitFrequency() { // #example: Set the commit frequency DefragmentConfig config = new DefragmentConfig("database.db4o"); config.ObjectCommitFrequency(10000); Defragment.Defrag(config); // #end example }