Skip to content

Instantly share code, notes, and snippets.

import sys
import faiss
import numpy as np
# import psutil
import os
import platform
import time
import sys
import faiss
import numpy as np
# import psutil
import os
import platform
import time
(faiss_1.6.0) [matthijs@matthijs-mbp /Users/matthijs/Desktop/faiss_github/issue_1127] lldb python
(lldb) target create "python"
Current executable set to 'python' (x86_64).
(lldb) run faiss_memory_leak.py
Process 70943 launched: '/Users/matthijs/miniconda3/envs/faiss_1.6.0/bin/python' (x86_64)
Loading faiss.
2 locations added to breakpoint 1
python version:3.7.5
faiss version: 1.6.0
Process 70943 stopped
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.