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.
- Open Google Chrome.
- Click the three vertical dots menu icon in the upper-right corner and select Settings.
- Navigate to the Performance tab in the left sidebar.
- Under the Memory section, toggle the Memory Saver switch to on.
- Choose Moderate or Maximum based on your multitasking workflow.
- 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://extensionsand 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.
- Press Win + R, type
sysdm.cpl, and press Enter to launch System Properties. - Switch to the Advanced tab and click the Settings button under the Performance heading.
- In the Performance Options dialogue, switch to the Advanced tab and click Change under Virtual memory.
- Untick “Automatically manage paging file size for all drives”.
- Select your system drive (C:), click Custom size, and set the Initial size to
8192MB and Maximum size to16384MB (or 1.5 times your physical RAM capacity). - 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://restartinto 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.
- Close all open Google Chrome windows.
- Right-click your Google Chrome desktop shortcut and select Properties.
- In the Target field, move your cursor to the very end of the text string (after
chrome.exe"). - Add a space, then append the following parameter:
--max-old-space-size=8192 - 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.