fig
fig copied to clipboard
bug: High CPU usage
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 14.0.0 (23A344)
Expected behaviour
Actual behaviour
Not drain CPU
Steps to reproduce
No
Environment
fig-details:
- 2.16.0
hardware-info:
- model:
- model-id:
- chip-id: Apple M1
- cores: 8
- mem: 8.00 GB
os-info:
- macOS 14.0.0 (23A344)
environment:
- shell: /Applications/Fig.app/Contents/MacOS/fig_desktop
- terminal: <unknown>
- cwd: /
- exe-path: /Applications/Fig.app/Contents/MacOS/fig-darwin-universal
- install-method: unknown
- env-vars:
- PATH: /usr/bin:/bin:/usr/sbin:/sbin
- SHELL: /bin/zsh
If you quit and restart the app, does this reoccur?
If you quit and restart the app, does this reoccur?
Yes, even if I restart the app, after a while, I experience the problem again. I think it can be reproduced as follows: when a continuously flowing log file is kept open for a certain period (15-20 minutes) using 'tail -f', CPU usage goes through the roof. Even if I close the terminal, CPU usage doesn't return to normal until I kill the app.
I have the same problem after upgrade to Sonoma 14
, I have no idea. So I can only temporarily remove the app. Anyone has the solution?
I turn on fig to be able to work out of certain cafes that are too chilly to keep myself warm for several hours, changing this feature will hurt my use-case. I would implore you to leave it as-is.
Thank you.
fig-details:
- 2.17.0
hardware-info:
- model:
- model-id:
- chip-id: Apple M1 Max
- cores: 10
- mem: 64.00 GB
os-info:
- macOS 12.6.0 (21G115)
environment:
- shell: /bin/zsh
- terminal: iterm
- cwd: /Users/kitsunde/Development/foo
- exe-path: /usr/local/bin/fig
- install-method: unknown
- env-vars:
- FIGTERM_SESSION_ID: a04f8fff-fbc2-4b35-9f61-24c2c065e0e3
- FIG_SET_PARENT_CHECK: 1
- FIG_TERM: 2.17.0
- PATH: /Users/kitsunde/.asdf/shims:/opt/homebrew/opt/asdf/libexec/bin:/opt/homebrew/opt/curl/bin:/opt/homebrew/opt/openjdk@11/bin:/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Users/kitsunde/.cargo/bin:/Users/kitsunde/.fig/bin:/Users/kitsunde/.local/bin:/Users/kitsunde/Library/Android/sdk/platform-tools:/Users/kitsunde/Library/Android/sdk/tools:/Users/kitsunde/Library/Android/sdk/tools/bin:/Users/kitsunde/Library/Android/sdk/emulator
- SHELL: /bin/zsh
- TERM: xterm-256color
- __CFBundleIdentifier: com.googlecode.iterm2
- FIG_PID: 2993
- FIG_SET_PARENT: a04f8fff-fbc2-4b35-9f61-24c2c065e0e3
I trust technology to fix things faster than my patience can! I patiently waited for months, thinking updates would sprinkle magic. Then, voila! Thanks to warp.dev, I waved goodbye to FIG 😞
@turkhero Fig is now CodeWhisperer. Your issue has been fixed.