public ScratchBufferPool(StorageEnvironment env) { _scratchPager = env.Options.CreateScratchPager("scratch.buffers"); _scratchPager.AllocateMorePages(null, env.Options.InitialFileSize.HasValue ? Math.Max(env.Options.InitialFileSize.Value, env.Options.InitialLogFileSize) : env.Options.InitialLogFileSize); _sizeLimit = env.Options.MaxScratchBufferSize; }
public ScratchBufferPool(StorageEnvironment env) { _scratchPager = env.Options.CreateScratchPager("scratch.buffers"); _scratchPager.AllocateMorePages(null, env.Options.InitialLogFileSize); }