--- title: "请求断路器内存限制配置" date: 2026-02-24 lastmod: 2026-02-24 description: "控制单个请求断路器的内存限制" tags: ["断路器", "内存保护", "请求配置"] summary: "配置项作用 # indices.breaker.request.limit 配置项控制单个请求(如聚合、批量请求)可使用的最大内存。 默认值 # 60%(JVM 堆内存的 60%) 配置类型 # 动态配置 配置格式 # # 默认配置 indices.breaker.request.limit: 60% # 增加限制 indices.breaker.request.limit: 80% " --- ## 配置项作用 `indices.breaker.request.limit` 配置项控制单个请求(如聚合、批量请求)可使用的最大内存。 ## 默认值 ``` 60%(JVM 堆内存的 60%) ``` ## 配置类型 **动态配置** ## 配置格式 ```yaml # 默认配置 indices.breaker.request.limit: 60% # 增加限制 indices.breaker.request.limit: 80% ```