redis / lettuce

Advanced Java Redis client for thread-safe sync, async, and reactive usage. Supports Cluster, Sentinel, Pipelining, and codecs.
https://lettuce.io
MIT License
5.3k stars 949 forks source link

Infinite creation of CompletableFuture Objects - memory leak #2792

Open wonizz opened 3 months ago

wonizz commented 3 months ago

Bug Report

As the memory gradually rises, OOM occurs. We found that extracting the heap dump creates a lot of completableFuture objects as shown below. Is there anything that could cause it?

Environment

Additional context

VisualVM 2 1 2 2024-03-19 18-20-05