How to Resolve OBS Studio Memory Leak

OBS Studio is a powerful tool for streaming and recording, but experiencing a memory leak can severely impact your system’s performance and cause the software to crash during use. This article provides a straightforward, step-by-step guide to identifying the root causes of OBS Studio memory leaks—such as outdated plugins, problematic browser sources, and buggy drivers—and offers practical solutions to resolve them quickly.

Update OBS Studio and Third-Party Plugins

The most common cause of memory leaks in OBS Studio is outdated software or buggy third-party plugins. Developers constantly release patches to fix memory management bugs.

  1. Update OBS Studio: Open OBS, click on Help in the top menu, and select Check for Updates. If an update is available, install it immediately.
  2. Update Plugins: If you use plugins like StreamFX, Move Transition, or obs-websocket, visit their respective download pages and install the latest versions. Outdated plugins are notorious for failing to release allocated memory.

Optimize Browser Sources

Browser sources (used for alerts, overlays, and widgets) run on an embedded version of Chromium. If a webpage or widget is poorly coded, it will continuously consume RAM.

  1. Enable/Disable Hardware Acceleration: Go to Settings > Advanced > Sources. Toggle the option Enable Browser Source Hardware Acceleration. For some systems, turning this on reduces CPU/RAM load; for others, turning it off resolves memory leaks. Test both settings.
  2. Close Inactive Browser Sources: Check the properties of your browser sources and check the box that says Shutdown source when not visible. This frees up memory when you switch to a different scene.

Perform a Clean GPU Driver Installation

Corrupted or outdated graphics card drivers can prevent OBS from properly releasing video memory (VRAM) and system RAM.

  1. Download the latest drivers for your graphics card (NVIDIA, AMD, or Intel).
  2. Use Display Driver Uninstaller (DDU) in Windows Safe Mode to completely wipe your old graphics drivers.
  3. Install the newly downloaded driver and restart your computer.

Analyze OBS Log Files

If the memory leak persists, OBS Studio’s built-in log analyzer can pinpoint the exact source, plugin, or setting causing the issue.

  1. Open OBS Studio and reproduce the memory leak (let it run for a few minutes).
  2. Go to Help > Log Files > Upload Current Log File.
  3. Click the Analyze button. The analyzer will open in your browser and highlight critical issues, such as outdated plugins, rendering lags, or heavy browser sources, in red or yellow.

Run OBS Studio in Safe Mode

Running OBS in Safe Mode disables all third-party plugins, scripts, and websockets. This is a great way to isolate whether the leak is caused by the core OBS program or external add-ons.

  1. Close OBS Studio completely.
  2. Hold down the Shift key on your keyboard and double-click the OBS Studio shortcut.
  3. Click Yes when prompted to run in Safe Mode.
  4. Monitor your RAM usage in Task Manager. If the memory leak stops, a third-party plugin or script is the culprit, and you should uninstall them one by one to find the offender.