Class IndexingMemoryController

java.lang.Object
org.opensearch.indices.IndexingMemoryController
All Implemented Interfaces:
Closeable, AutoCloseable, IndexingOperationListener

public class IndexingMemoryController extends Object implements IndexingOperationListener, Closeable
Memory controller for indexing operations
Opensearch.internal:
  • Field Details

    • INDEX_BUFFER_SIZE_SETTING

      public static final Setting<org.opensearch.core.common.unit.ByteSizeValue> INDEX_BUFFER_SIZE_SETTING
      How much heap (% or bytes) we will share across all actively indexing shards on this node (default: 10%).
    • MIN_INDEX_BUFFER_SIZE_SETTING

      public static final Setting<org.opensearch.core.common.unit.ByteSizeValue> MIN_INDEX_BUFFER_SIZE_SETTING
      Only applies when indices.memory.index_buffer_size is a %, to set a floor on the actual size in bytes (default: 48 MB).
    • MAX_INDEX_BUFFER_SIZE_SETTING

      public static final Setting<org.opensearch.core.common.unit.ByteSizeValue> MAX_INDEX_BUFFER_SIZE_SETTING
      Only applies when indices.memory.index_buffer_size is a %, to set a ceiling on the actual size in bytes (default: not set).
    • SHARD_INACTIVE_TIME_SETTING

      public static final Setting<org.opensearch.common.unit.TimeValue> SHARD_INACTIVE_TIME_SETTING
      If we see no indexing operations after this much time for a given shard, we consider that shard inactive (default: 5 minutes).
    • SHARD_MEMORY_INTERVAL_TIME_SETTING

      public static final Setting<org.opensearch.common.unit.TimeValue> SHARD_MEMORY_INTERVAL_TIME_SETTING
      How frequently we check indexing memory usage (default: 5 seconds).
  • Method Details