Originally filed as GitHub issue [Bug]: Antigravity IDE (macOS) quits without warning: main/browser process hits V8 heap OOM after ~1–2 days uptime · Issue #1232 · google-antigravity/antigravity-cli · GitHub. The maintainers said that repo is for the Antigravity CLI only and asked me to post here.
Version
N/A (desktop app) — Antigravity IDE 2.5.5 (VS Code 1.107.0 base, commit ecfbad74d93962fc8ca485d93ab9b4f3d4cb6cf8, build 2026-08-13), Electron 39.2.3
Environment
- OS: macOS 26.5.2 (25F84)
- Shell: zsh
- Terminal Emulator: N/A (desktop IDE, not the CLI)
- Runtime Version: Electron 39.2.3 (bundled)
- Hardware Details: Apple M1 Pro, 32 GB RAM. System memory was not under pressure (≈62% free while the app process itself was at ~2.7 GB).
Steps to reproduce
- Launch Antigravity IDE and open ~6 workspace windows (normal daily setup: agent panel, integrated terminals, git repos with many changed files, extensions listed below).
- Keep working normally and leave the app running (no restart).
- After roughly 29–48 hours the whole app disappears at once: every window closes, no “window crashed” dialog, no shutdown sequence in
main.log.
Expected behavior
Memory of the main (browser) process stays roughly flat over a long session, and the app does not terminate.
Actual behavior
The main/browser process grows its JS heap until V8 aborts with an out-of-memory error, which kills the entire app.
Crashes in the last week (macOS runningboardd: termination reported by launchd (2, 5, 5), i.e. SIGTRAP; a Crashpad minidump is written each time):
| Crash time (UTC+7) | Session start | Uptime before crash | Minidump annotation electron.v8-oom.location |
|---|---|---|---|
| 2026-10-10 16:27 | 2026-10-08 16:18 | ~48 h | Ineffective mark-compacts near heap limit |
| 2026-10-12 15:45 | 2026-10-10 16:34 | ~47 h | Ineffective mark-compacts near heap limit |
| 2026-10-13 22:38 | 2026-10-12 17:19 | ~29 h | MarkCompactCollector: young object promotion failed |
Two earlier minidumps with the same signature exist from 2026-09-05 and 2026-09-11.
All of these minidumps carry ptype=browser, prod=Electron, ver=39.2.3, electron.v8-oom.is_heap_oom, so this is the Electron main process, not a renderer, the extension host or the language server. Clean quits on the same machine report (0, 0, 0), so these are not user/update restarts.
Memory growth of the current session (fresh launch 2026-10-13 22:38): after 12.7 h of uptime the main process Electron shows phys_footprint: 2749 MB (peak 2782 MB) in footprint -p <pid>. A healthy VS Code main process normally stays in the low hundreds of MB. In one 90-second sample its RSS grew ~20 MB.
Before each crash main.log shows repeated [warning] [perf] profiling STARTED … / profiling DONE … entries (several per hour), and then just stops. There is no lifecycle/quit logging.
Logs
Last lines of main.log before the 2026-10-12 15:45 crash (nothing after these):
2026-10-12 15:08:48.218 [info] Extension host with pid 48297 exited with code: 0, signal: unknown.
2026-10-12 15:09:03.271 [info] Extension host with pid 70149 exited with code: 0, signal: unknown.
2026-10-12 15:34:43.611 [info] update#setState checking for updates
2026-10-12 15:34:44.168 [info] update#setState idle
Last lines before the 2026-10-10 16:27 crash:
2026-10-10 16:20:39.783 [warning] [perf] profiling STARTED 71bcc23d-8e8c-4e9a-bd80-17d7fe6f5b07
2026-10-10 16:20:44.828 [warning] [perf] profiling DONE 71bcc23d-8e8c-4e9a-bd80-17d7fe6f5b07
2026-10-10 16:21:03.824 [warning] [perf] profiling STARTED 71bcc23d-8e8c-4e9a-bd80-17d7fe6f5b07
2026-10-10 16:21:46.783 [warning] [perf] profiling DONE 71bcc23d-8e8c-4e9a-bd80-17d7fe6f5b07
macOS unified log at the 2026-10-13 crash:
2026-10-13 22:38:45.548 powerd: Process Electron.673 ClientDied NoIdleSleepAssertion "Electron" age:29:19:08
2026-10-13 22:38:45.578 runningboardd: [app<application.com.google.antigravity-ide…>:673] termination reported by launchd (2, 5, 5)
Notes:
argv.jsonhas"enable-crash-reporter": true, but the minidumps are still sitting in~/Library/Application Support/Antigravity IDE/Crashpad/pending/and were never uploaded. I’m not attaching them publicly because they contain environment variables and local paths. I can share them privately with the team.- No macOS
.ipscrash report is generated for these, because the process aborts itself through V8’s OOM handler. - Installed extensions: anthropic.claude-code, openai.chatgpt, nskha.perplexity-vscode (MCP), pawelhuryn.grok-vscode-phuryn, ms-python.python / debugpy / vscode-python-envs, ms-toolsai.jupyter (+ renderers/keymap/cell-tags/slideshow), meta.pyrefly, devsense.phptools-vscode (+ intelli-php, composer, profiler), shopify.ruby-lsp, llvm-vs-code-extensions.vscode-clangd, ms-vscode.live-server, mechatroner.rainbow-csv, muhammad-ahmad.xlsx-viewer, tomoki1207.pdf. Extensions run in the extension host, but the heap that runs out belongs to the main process.
- Workaround: quit and relaunch the app (Cmd+Q) at least once a day.
- I can attach the main process with
--inspectand collect a sampling heap profile plus two heap snapshots a few hours apart, if that would help the team find what is retained.