@santhnm2 proposed this change to fix a memory issue I ran into:
I've tested it on a 26-million-passage Wikipedia index which is about 120GB on disk. Before this change, the coalescing script would get killed, perhaps due to running out of RAM on a VM with 220GB RAM. After this change, coalescing finishes in 5 minutes instead of 50 minutes, and RAM utilization stays at around 38%.
@santhnm2 proposed this change to fix a memory issue I ran into:
I've tested it on a 26-million-passage Wikipedia index which is about 120GB on disk. Before this change, the coalescing script would get killed, perhaps due to running out of RAM on a VM with 220GB RAM. After this change, coalescing finishes in 5 minutes instead of 50 minutes, and RAM utilization stays at around 38%.