Problem Description:
hi @toluaina
I have a table with lakhs of entries. During profiling the sync process, I see the memory leak reaching to a state where it eats up whole 32 GB RAM shutting down the whole sync.
When setting thread_count to 1 seems to reduce the rate at which memory is leaked.
Even still I see parallel_bulk of elasticsearch creates extra threads. And this seems to be leaking memory as well
If you look at the below image the virtual memory footprint keeps on increasing of each thread created by elasticsearch lib
PGSync version: 2.5.0
Postgres version: 14
Elasticsearch version: 8.8.2
Redis version: 7
Python version: 3.11.4
Problem Description: hi @toluaina I have a table with lakhs of entries. During profiling the sync process, I see the memory leak reaching to a state where it eats up whole 32 GB RAM shutting down the whole sync.
Error Message (if any):