I had used gensim and Word Mover's distance to generate a distance matrix for my text of ~4000. The first time I ran it, it took about a day or so. I am trying to run it again and it is taking more than 4 days so far. Another function that runs KMedoids usually takes minutes but now takes days. I have tried using garbage collector to clear up some memory but that hasn't solved anything.
import gc
gc.collect()
I've tried restarting my computer but that also didn't help. I'm not sure what to do to fix this.