How to Fix Chrome ‘Error: Out of Memory’ on Heavy Websites

Working inside media-rich web applications, interactive design tools, or navigating large spreadsheets in Google Chrome can abruptly result in a crashed tab displaying the “Aw, Snap!” screen with the explicit stop error: Error code: Out of Memory. Even on high-performance computers equipped with 16 GB, 32 GB, or 64 GB of physical RAM, individual Chrome tabs can unexpectedly collapse.

This crash occurs because Google Chrome assigns a dedicated renderer process to each browser tab, bounded by internal V8 JavaScript virtual machine heap memory ceilings (typically 2 GB on 32-bit processes and 4 GB on 64-bit systems). When complex web scripts leak memory or when the operating system paging file is constricted, the renderer terminates. Follow these proven fixes to stabilize memory consumption in Chrome.

Enable Google Chrome Memory Saver Feature

Google Chrome includes a native performance architecture called Memory Saver that frees up system RAM from inactive background tabs, preserving memory bandwidth for your active foreground work.

  1. Open Google Chrome.
  2. Click the three vertical dots menu icon in the upper-right corner and select Settings.
  3. Navigate to the Performance tab in the left sidebar.
  4. Under the Memory section, toggle the Memory Saver switch to on.
  5. Choose Moderate or Maximum based on your multitasking workflow.
  6. Under “Always keep these sites active”, click Add and specify critical domain names (such as web conferencing portals or active web development servers) to protect them from memory purging.

Inspect and Terminate Memory-Leaking Extensions

Third-party browser extensions (such as unoptimized ad blockers, translation tools, or grammar checkers) inject content scripts across every open frame, accumulating memory bloat.

  • Press Shift + Esc while inside Chrome to launch the built-in Chrome Task Manager.
  • Click on the Memory footprint column header to sort processes in descending order.
  • Scan the list for specific tabs or background extensions consuming over 1.5 GB of RAM.
  • Select any malfunctioning extension process and click End process.
  • Navigate to chrome://extensions and disable or uninstall extensions that consistently trigger memory leaks.

Increase Windows Virtual Memory Paging File Size

Even with ample physical RAM, the Windows kernel requires an adequate swap file (pagefile.sys) to commit memory allocations when browser processes request large contiguous memory buffers.

  1. Press Win + R, type sysdm.cpl, and press Enter to launch System Properties.
  2. Switch to the Advanced tab and click the Settings button under the Performance heading.
  3. In the Performance Options dialogue, switch to the Advanced tab and click Change under Virtual memory.
  4. Untick “Automatically manage paging file size for all drives”.
  5. Select your system drive (C:), click Custom size, and set the Initial size to 8192 MB and Maximum size to 16384 MB (or 1.5 times your physical RAM capacity).
  6. Click Set, then click OK and restart your PC.

Clear Chrome Cache and Purge Hardware Shader Buffers

Accumulated temporary web assets can clog the V8 execution heap, forcing the garbage collector into infinite recycling loops.

  • Navigate to chrome://settings/clearBrowserData.
  • Set the time range to All time.
  • Tick Cached images and files and Cookies and other site data.
  • Click Clear data.
  • Restart Chrome completely by typing chrome://restart into the address bar.

Launch Chrome with the Expanded V8 JavaScript Heap Flag

For data scientists, financial analysts, and web developers interacting with massive in-browser datasets, you can launch Chrome with an elevated V8 memory ceiling.

  1. Close all open Google Chrome windows.
  2. Right-click your Google Chrome desktop shortcut and select Properties.
  3. In the Target field, move your cursor to the very end of the text string (after chrome.exe").
  4. Add a space, then append the following parameter:
    --max-old-space-size=8192
  5. Click Apply and OK. Launching Chrome through this modified shortcut raises the JavaScript garbage collection boundary from 4 GB to 8 GB, eliminating Out of Memory stops on intensive web applications.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.