medium severityRedisJSON module in Redis Stack

Gradual memory increase in Redis process during repeated JSON path queries (e.g., JSON.GET with paths), leading to high used_memory without corresponding key growth, potential OOM, not reclaimed by GC or MEMORY PURGE.

Root cause

Undocumented or unreported. Possible client-side accumulation of JSONPath query results or inefficient path parsing/caching in older RedisJSON versions not freeing allocations properly.

RedisJSONRedis Stackmemory leakJSONPathpath queryOOMJSON.GET

Citations