BufferConfig
cc.otavia.core.config.BufferConfig
Buffer allocation configuration.
Value parameters
- maxCache
-
Maximum number of pages cached per-thread allocator. Limits memory consumption from buffer caching. Must be greater than or equal to minCache. Default is 10240.
- minCache
-
Minimum number of pages cached per-thread allocator. Ensures a baseline of cached pages to avoid allocation thrashing. Must be at least 1. Default is 8.
- pageSize
-
Page size in bytes for buffer allocation. Must be a power of 2 and one of {1024, 2048, 4096, 8192, 16384}. Default is 4096 (4KB). Larger pages reduce allocation overhead but increase memory consumption for small buffers.
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article