You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After running the serve process for an extended period, I noticed it was consuming an unusually high amount of memory—approximately 5.5GB on my laptop. This suggests a potential memory leak that we should investigate and resolve.
❯ ps aux|grep python3
xyb 16496 37.4 0.9 421123904 145216 ?? R 4:25PM 41:36.85 /Users/xyb/.virtualenvs/pensieve/bin/python3 -m memos.commands serve
xyb 16627 10.5 0.4 412157328 64816 ?? S 4:25PM 2:26.19 /Users/xyb/.virtualenvs/pensieve/bin/python3 -m memos.commands watch
xyb 17026 0.0 0.0 410825856 192 ?? S 4:26PM 0:00.03 /Users/xyb/.virtualenvs/pensieve/bin/python3 -c from multiprocessing.resource_tracker import main;main(15)
xyb 16956 0.0 0.0 410966144 192 ?? S 4:26PM 0:00.02 /Users/xyb/.virtualenvs/pensieve/bin/python3 -c from multiprocessing.resource_tracker import main;main(13)
xyb 16495 0.0 0.2 412606000 28592 ?? S 4:25PM 7:37.52 /Users/xyb/.virtualenvs/pensieve/bin/python3 -m memos.commands record
The text was updated successfully, but these errors were encountered:
base_dir: ~/.memosdatabase_path: database.dbdefault_library: screenshotsscreenshots_dir: screenshotsserver_host: 0.0.0.0server_port: 8839# Enable authentication by uncommenting the following lines# auth_username: admin# auth_password: changemedefault_plugins:
- builtin_ocr
- builtin_vlm# using ollama as the vlm servervlm:
concurrency: 8endpoint: http://localhost:11434force_jpeg: truemodelname: minicpm-vprompt: 请帮描述这个图片中的内容,包括画面格局、出现的视觉元素等token: ''# using local ocrocr:
concurrency: 8# this is not used if use_local is trueendpoint: http://localhost:5555/predictforce_jpeg: falsetoken: ''use_local: true# using local embeddingembedding:
# this is not used if use_local is trueendpoint: http://localhost:11434/api/embedmodel: arkohut/jina-embeddings-v2-base-zhnum_dim: 768use_local: trueuse_modelscope: false
After tracking the memory using in embedding.py, I found that the memory usage get a peak and then quickly fall down. But the monitor will keep showing the peak. Click the Details button can show the total usage looks like this:
After running the serve process for an extended period, I noticed it was consuming an unusually high amount of memory—approximately 5.5GB on my laptop. This suggests a potential memory leak that we should investigate and resolve.
The text was updated successfully, but these errors were encountered: