fig
fig copied to clipboard
Fig using too much memory
Checks
- [X] I have searched github.com/withfig/fig/issues and there are no duplicates of my issue
- [X] I have run
fig doctor
in the affected terminal session - [X] I have run
fig restart
and replicated the issue again
Operating system
macOS 13.5.0 (22G74)
Expected behaviour
Fig should use a small amount of memory, mainly because it is a CLI application
Actual behaviour
Fig is using more than 1,3GB of system memory
Steps to reproduce
Not able to reproduce, I restarted the Mac with the option to close all apps and Fig was using more than 1GB anyway
Environment
fig-details:
- 2.17.0
hardware-info:
- model:
- model-id:
- chip-id: Apple M1 Pro
- cores: 10
- mem: 16.00 GB
os-info:
- macOS 13.5.0 (22G74)
environment:
- shell: /bin/zsh
- terminal: terminal
- cwd: /Users/gabrielmaciel/Documents/Eldorado/factory-view
- exe-path: /Users/gabrielmaciel/.fig/bin/fig
- install-method: unknown
- env-vars:
- FIGTERM_SESSION_ID: 2e7e7a7b-49d2-47fa-af11-9272cba2eada
- FIG_SET_PARENT_CHECK: 1
- FIG_TERM: 2.17.0
- PATH: /opt/homebrew/opt/bison/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/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:/Users/gabrielmaciel/.fig/bin:/Users/gabrielmaciel/.local/bin
- SHELL: /bin/zsh
- TERM: xterm-256color
- __CFBundleIdentifier: com.apple.Terminal
- FIG_PID: 71619
- FIG_SET_PARENT: 2e7e7a7b-49d2-47fa-af11-9272cba2eada
Hi, I'm also having an instance where fig eating all my resources
Here's my environment:
fig-details:
- 2.17.0
hardware-info:
- model:
- model-id:
- chip-id: Apple M1
- cores: 8
- mem: 8.00 GB
os-info:
- macOS 14.2.1 (23C71)
environment:
- shell: /bin/zsh
- terminal: terminal
- cwd: /Users/adnanfahed
- exe-path: /Users/adnanfahed/.local/bin/fig
- install-method: unknown
- env-vars:
- DISPLAY: /private/tmp/com.apple.launchd.ufiUjQxHLq/org.xquartz:0
- FIGTERM_SESSION_ID: bb840825-c562-4e8e-8cdd-a91a383d1837
- FIG_SET_PARENT_CHECK: 1
- FIG_TERM: 2.17.0
- PATH: /Users/adnanfahed/.local/bin:/Users/adnanfahed/.yarn/bin:/Users/adnanfahed/.config/yarn/global/node_modules/.bin:/Users/adnanfahed/.nvm/versions/node/v18.17.0/bin:/Users/adnanfahed/Library/pnpm:/Users/adnanfahed/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/adnanfahed/fvm/default/bin:/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:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/usr/local/share/dotnet:~/.dotnet/tools:/Users/adnanfahed/.cargo/bin:/Users/adnanfahed/.fig/bin:/Users/adnanfahed/.local/bin:/Users/adnanfahed/Library/Android/sdk/tools:/Users/adnanfahed/Library/Android/sdk/platform-tools:/Library/Java/JavaVirtualMachines/jdk-20.jdk/Contents/Home/bin:/Users/adnanfahed/.pub-cache/bin:/Users/adnanfahed/fvm/default/bin
- SHELL: /bin/zsh
- TERM: xterm-256color
- __CFBundleIdentifier: com.apple.Terminal
- FIG_PID: 23879
- FIG_SET_PARENT: bb840825-c562-4e8e-8cdd-a91a383d1837
Hello i have also the samme problem
fig-details:
- 2.17.0
hardware-info:
- model:
- model-id:
- chip-id: Apple M1 Pro
- cores: 8
- mem: 16.00 GB
os-info:
- macOS 14.2.1 (23C71)
environment:
- shell: /bin/zsh
- terminal: iterm
- exe-path: /opt/homebrew/bin/fig
- install-method: brew
- env-vars:
- FIG_SET_PARENT_CHECK: 1
- FIG_TERM: 2.17.0
- SHELL: /bin/zsh
- TERM: xterm-256color
- __CFBundleIdentifier: com.googlecode.iterm2
- FIG_PID: 989
I am having same issue. Fig is using up all of my memory. The problem is solved by restarting fig.
fig-details:
- 2.17.0 hardware-info:
- model:
- model-id:
- chip-id: Apple M1
- cores: 8
- mem: 16.00 GB os-info:
- macOS 14.2.0 (23C64) environment:
- shell: /bin/zsh
- terminal: iterm
- cwd: /Users/danielfaria
- exe-path: /usr/local/bin/fig
- install-method: unknown
- env-vars:
- FIGTERM_SESSION_ID: 554b4aed-165b-4b64-8d2e-18a36270021a
- FIG_SET_PARENT_CHECK: 1
- FIG_TERM: 2.17.0
- SHELL: /bin/zsh
- TERM: xterm-256color
- __CFBundleIdentifier: com.googlecode.iterm2
- FIG_PID: 26169
- FIG_SET_PARENT: 554b4aed-165b-4b64-8d2e-18a36270021a
@ibdf It is correct that after restarting or killing the process "Fig Graphics and media" is the Memory usage normal again, but after a while it is happens again.
+1
I posted here 5 days ago, which is also the last day I restarted fig. Today fig was using over 21gb of memory.
this is insane
14.3 (23D56)
+1
UPDATE: It's happened again. I left a terminal open for ~22 hours, without interacting with it at all. Also, the terminal was using lima
at that time
Here's my environment:
fig-details:
- 2.17.1
hardware-info:
- model:
- model-id:
- chip-id: Apple M1
- cores: 8
- mem: 8.00 GB
os-info:
- macOS 14.2.1 (23C71)
environment:
- shell: /bin/zsh
- terminal: terminal
- cwd: /Users/adnanfahed
- exe-path: /Users/adnanfahed/.local/bin/fig
- install-method: unknown
- env-vars:
- DISPLAY: /private/tmp/com.apple.launchd.fgX5KIYQAj/org.xquartz:0
- FIGTERM_SESSION_ID: 721c2f40-400c-4619-9d70-536157a43828
- FIG_SET_PARENT_CHECK: 1
- FIG_TERM: 2.17.1
- PATH: /Users/adnanfahed/.local/bin:/Users/adnanfahed/.yarn/bin:/Users/adnanfahed/.config/yarn/global/node_modules/.bin:/Users/adnanfahed/.nvm/versions/node/v18.17.0/bin:/Users/adnanfahed/Library/pnpm:/Users/adnanfahed/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/adnanfahed/fvm/default/bin:/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:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/usr/local/share/dotnet:~/.dotnet/tools:/Users/adnanfahed/.cargo/bin:/Users/adnanfahed/.fig/bin:/Users/adnanfahed/.local/bin:/Users/adnanfahed/Library/Android/sdk/tools:/Users/adnanfahed/Library/Android/sdk/platform-tools:/Library/Java/JavaVirtualMachines/jdk-20.jdk/Contents/Home/bin:/Users/adnanfahed/.pub-cache/bin:/Users/adnanfahed/fvm/default/bin
- SHELL: /bin/zsh
- TERM: xterm-256color
- __CFBundleIdentifier: com.apple.Terminal
- FIG_PID: 30422
- FIG_SET_PARENT: 721c2f40-400c-4619-9d70-536157a43828