Google AI Studio Chrome Browser Crash - Out of Memory During ZIP Export

Hello Google Support Team,

I am developing a large devotional application in Google AI Studio. My project size is approximately 700 MB.

Whenever I attempt to download or export the complete project ZIP backup, Google Chrome repeatedly crashes and displays the following error:
“Aw, Snap! — Error code: Out of Memory”

I have experienced this exact same issue across two different laptops.

  • The application preview works correctly, but exporting the project triggers memory exhaustion.
  • During tests, the Chrome tab for Google AI Studio consumes around 1.5 GB of memory.
  • I have also faced request timeouts and build failures.

Could you please advise how I can safely export my project without losing any work or triggering browser memory crashes?

Thank you for your assistance.

Hitting Chrome’s Aw, Snap! (Out of Memory) crash when trying to back up a 700 MB project is really stressful, @Krishnakumar_Menon, especially when you want to make sure none of your devotional app’s assets or code are lost.

The reason this happens across both of your laptops is that Google AI Studio’s Download ZIP button builds the archive entirely in-memory inside the browser tab using client-side JavaScript (JSZip / Blob buffers). When a project reaches ~700 MB, holding the raw asset buffers plus the uncompressed and compressed ZIP ArrayBuffer copies at the same time pushes the single renderer tab past Chrome’s ~4 GB per-tab V8 memory limit.

Here are three safe ways to export and back up your entire project right now without triggering the browser OOM crash:

  1. Sync Directly to GitHub from the Top Toolbar (Server-Side Export): Click the GitHub icon in the top bar of your AI Studio app and push to a private or public GitHub repository. Unlike the client-side ZIP download, the GitHub sync transmits files over the backend API without bundling a 700 MB ArrayBuffer inside Chrome’s renderer heap.

  2. Download Directly from Your Linked Google Drive (Google AI Studio Folder): Open drive.google.com in a separate tab and look for the Google AI Studio folder in My Drive. AI Studio persists your prompt and applet files there, and downloading from Google Drive streams the archive directly from Google’s servers to disk instead of building it in tab memory.

  3. Offload the Heavy Media Folder First (or Raise Chrome’s V8 Heap Limit):

    • If most of the 700 MB is audio, video, or high-res images inside an assets/ or public/ folder, download those media files individually first, remove them from the AI Studio file tree so the code footprint drops under 15 MB, and then click Download ZIP (which will finish in 1-2 seconds).
    • If you ever need to force a single massive client-side export through Chrome, close all other Chrome windows and launch Chrome from the terminal with an expanded V8 heap limit:
# Windows Command Prompt / Run
chrome.exe --js-flags="--max-old-space-size=8192"

Using the GitHub sync or moving the heavy media assets to external URLs/Cloud Storage will also stop the build timeouts you mentioned!