Skip to content
Source
Sign inSign up
pingdotgg/t3code

agy_acp_server leaves orphaned PyInstaller _MEI* temp folders that accumulate and fill the disk #10862

ClosedFranciscoMessina(GitHub profile, opens in a new tab) opened this issue 1 comment

Description

The agy_acp_server process (found running from .t3\tools\antigravity-acp\win32-x64\...) appears to be a PyInstaller-bundled executable. Each time it starts, PyInstaller extracts its bundled dependencies into a new _MEI* folder under %LOCALAPPDATA%\Temp. These folders are supposed to be cleaned up automatically when the process exits normally, but in practice they are left behind — likely because the process is being killed/restarted (e.g. on app updates, crashes, or session restarts) instead of shutting down cleanly.

Impact

On my machine this accumulated to 215 leftover _MEI* folders totaling ~249 GB in C:\Users\<user>\AppData\Local\Temp, which eventually filled the disk and caused unrelated failures elsewhere on the system (e.g. Android Studio's emulator refusing to launch with "device does not have enough disk space").

Steps to reproduce

  1. Use T3 Code / Antigravity normally over an extended period (weeks), across restarts/updates.
  2. Check %LOCALAPPDATA%\Temp for folders matching _MEI* that contain Python/PyInstaller runtime files (e.g. python310.dll, base_library.zip, google_api_python_client, etc.).
  3. Observe that many stale folders accumulate over time instead of being cleaned up.

Expected behavior

  • agy_acp_server should clean up its own _MEI* temp folder on exit (including abnormal exit), or
  • On startup, it should detect and remove stale _MEI* folders left by previous runs of itself.

Environment

  • t3code version: 0.0.41-nightly.20260908.1414
  • OS: Windows 11 Pro 10.0.26200
  • Tool path: C:\Users\<user>\.t3\tools\antigravity-acp\win32-x64\
  1. Duplicate of #9650 — same Windows Antigravity/agy_acp_server PyInstaller _MEI* temp-folder leak.

    Open fix: #9626 (fix(antigravity): clean Windows runtime temp files).

  2. juliusmarminge added labelsduplicate

  3. juliusmarminge closed this

Sign in to join this conversation.