MacOS – Force Google Chrome use single process

google-chromemacosmemory

Across the internet I found an interesting solution of how to make Chrome consume less memory and this is – forcing the application use single process for all the tabs. Unfortunately the instruction was made for Windows users. What should I do to try this feature in OS X? Will it actually help? And if not, what would you suggest to free more memory?

The corresponding article:
http://howto.excitebuzz.com/make-google-chrome-use-less-memory/120

Best Answer

If you're running low on memory, you may try to use Safari instead, it allows you to enable single process mode.

For that you need to enable the Debug menu in Safari.

  1. Open Terminal and type in the following command and hit return

    defaults write com.apple.Safari IncludeInternalDebugMenu 1
    
  2. Open the Safari app. (If you had Safari opened, you need to quit and open it again.)

    You will see a Debug menu, just check the Disable Per-Tab Web Processes item.

    Safari hidden debug menu

  3. It will ask to quit Safari, click the button and open Safari again.
    (It will close all tabs, so make sure you don't have anything pending)
    Restart safari dialog

  4. Open the Safari app again. You're in single process mode! You can check it by opening Activity Monitor app.


Results

This is not very scientific, but just to give you some idea.

  • Before (multi-process)

    50 Tabs opened on apple.com
    Total system ram used 5.61GB

    50 tabs opened on safari in multiprocess mode

  • After (single-process)

    50 Tabs opened on apple.com
    Total system ram used 4.47GB

    50 tabs opened on safari in multiprocess mode

    Reduction in 1.14GB

Reverting

  • Just uncheck the Debug > Disable Per-Tab Web Processes to go back to the multi process mode.