withfig / fig

Public issue tracker for Fig.

Home Page:https://fig.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bug: High memory usage

gllxl opened this issue · comments

Checks

  • I have searched github.com/withfig/fig/issues and there are no duplicates of my issue
  • I have run fig doctor in the affected terminal session
  • I have run fig restart and replicated the issue again

Operating system

macOS 14.0.0

Expected behaviour

there shouldn't be this much memory usage.

Actual behaviour

image
occupied 58.65 GB of memory, suspecting memory leakage

Steps to reproduce

No response

Environment

fig-details:
  - 2.17.0
hardware-info:
  - model:
  - model-id:
  - chip-id: Apple M1
  - cores: 8
  - mem: 16.00 GB
os-info:
  - macOS 14.0.0 (23A344)
environment:
  - shell: /bin/zsh
  - terminal: <unknown>
  - cwd: /Users/lxl
  - exe-path: /Users/lxl/.fig/bin/fig
  - install-method: unknown
  - env-vars:
    - PATH: /Users/lxl/Library/pnpm:/Users/lxl/.nvm/versions/node/v16.20.1/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Users/lxl/.fig/bin:/Users/lxl/.local/bin:/Users/lxl/Library/Application Support/JetBrains/Toolbox/scripts
    - SHELL: /bin/zsh
    - TERM: xterm-256color
    - __CFBundleIdentifier: dev.warp.Warp-Stable
    - FIG_SET_PARENT_CHECK: 1
    - FIG_PID: 97683
    - FIG_SET_PARENT:

Same here on M1

had the same on m1,
ended up using nearly 50GB RAM (including swap).
Screenshot 2024-01-11 at 11 40 42

Screenshot 2024-01-11 at 11 40 33

Hi @gllxl, thanks for reporting this. There is a memory leak in the Fig dashboard that we are trying to track down. Restarting the application should resolve this temporarily

image
Hello, I am suffering from the same problem. Is there any solution?