warpdotdev / Warp

Warp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster.
https://warp.dev
Other
21.35k stars 373 forks source link

Warp spins up hundreds of aws and bash processes whenever I open it, which OOM's my device #5199

Open melrchen opened 3 months ago

melrchen commented 3 months ago

Dupe Check

Describe the bug

Whenever I open the Warp application, I start seeing hundreds of aws and bash processes being spun up in my activity monitor and they persist which eventually OOM's my device. I would love to use Warp but cannot

To reproduce

Open Warp application

Expected behavior

No response

Screenshots

image

this is 2 seconds after opening the Warp application

Operating system

MacOS

Operating system and version

macOS Sonoma 14.5

Shell Version

No response

Current Warp version

v0.2024.07.30.08.02.stable_01

Regression

Yes, this bug started recently or with an X Warp version

Recent working Warp date

sometime in March

Additional context

No response

Does this block you from using Warp daily?

Yes, this issue prevents me from using Warp daily.

Is this an issue only in Warp?

Yes, I confirmed that this only happens in Warp, not other terminals.

Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e

None

alokedesai commented 3 months ago

Hey @melrchen, thanks for filling and really sorry for the issues you're having here.

Do any windows open in Warp for you? Does it OOM as soon as you open Warp?

If so, one theory here is that Warp is trying to restore a bunch of old sessions on app startup, and you have aws in your RC files. You could verify that by deleting your sqlite file (https://docs.warp.dev/features/sessions/session-restoration#session-restoration-database) and trying to see if that fixes the issue the next time you open Warp.