harmonypy
harmonypy copied to clipboard
Try filprofiler
It is possible that harmonypy uses more memory than the R version of Harmony.
filprofiler might help to optimize the code to use less memory.
scalene might also be a good option for a memory profiler.