// troubleshooting guide · opensearch
OpenSearch High JVM Memory Pressure
- Status
- Ongoing
- platforms:
- Self-hosted, Amazon OpenSearch Service
- updated:
- November 15, 2026
- reports:
- 3
- Method
- how we research
RUNBOOK · opensearch/high-jvm-memory-pressure4 FIXES
// quick answer
Keep JVM memory pressure below about 80%. Reduce shard count, avoid aggregating on text fields, clear fielddata and scale nodes.
Most likely fix: Reduce shard overhead
How to fix it
// try these in order, the most common fix is first
FIX 1Reduce shard overhead
- 01Delete or merge old indices
- 02Use shrink or reindex into fewer shards
- 03Use ISM policies to remove unused indexes
Did this fix it?FIX 2Clear fielddata
- 01POST my-index/_cache/clear?fielddata=true (can disrupt running queries)
Did this fix it?FIX 3Fix mappings and queries
- 01Aggregate on keyword fields, not text
- 02Avoid leading wildcards and huge date ranges
Did this fix it?FIX 4Scale
- 01Add data nodes or use a larger instance type
- 02Keep max heap at 32 GB or less per node
Did this fix it?
Symptoms
JVMMemoryPressure stays high, GC pauses grow, requests slow or are rejected, and on Amazon's service writes are blocked at 92% for 30 minutes.
Why it happens
- C-01Too many shards
- C-02Aggregations or sorting on text fields (fielddata)
- C-03Wildcard or wide time-range queries
- C-04Unbalanced shard allocation
- C-05Instance type too small for load
// this guide also covers
- opensearch jvm memory pressure
- opensearch high heap usage
- opensearch jvm pressure 92%
Still not working?
If OpenSearch keeps failing, you're not alone. See every OpenSearch problem users report or the alternatives people switch to.
Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.
Talk to usThe same problem in other apps
All slow, laggy or resource-hungry guides →
Elasticsearch High JVM Memory Pressure and Out of Memory (Elasticsearch)
Typesense Out of Memory (OOM) and RAM Sizing (Typesense)
Meilisearch Indexing Slow (Meilisearch)
Algolia Search Slow or High Latency (Algolia)
Other OpenSearch errors
- OpenSearch Cluster Status Red
- OpenSearch Cluster Status Yellow
- OpenSearch Unassigned Shards
- OpenSearch OutOfMemoryError and Circuit Breaker
- OpenSearch Exceeded Maximum Shard Limit
- OpenSearch Index Read-Only: Disk Watermark and ClusterBlockException
- OpenSearch 429 Too Many Requests
- OpenSearch Docker Container Won't Start