Open 152334H opened 1 year ago
@Ryu1845 do you have any idea what is going on? I tried both using caching && running gc.collect()
but my memory still keeps going up whenever I change model
No, I don't. I'll look into it
Something came up, I'll only be able to look further in about 8h
Realistically I know it's triggering model loading repeatedly somehow, because the memory jumps are very big and correspond to load_model() calls
I just have no idea why the memory continually leaks and stacks up, even with a cache size of 1 + gc.collect
There's a memory leak somewhere, my computer with 32GB of RAM has ended up dying from swap thrashing twice now.