Since its launch, Google's Chromium browser has proved to be immensely popular. Chromium introduced many new and innovative features but it also brought along with it a familiar problem. Memory hogging. However, as Google released subsequent versions they addressed it. This short article will show you how to gain some traction over Chromium when, after prolonged browsing, it starts to seriously hog that resource.
You don't need to be a web browser developer or a coder. All you need is Chromium's built-in Task Manager and a command line switch.
The Task Manager will display all the running processes inside the browser and, more importantly, how much memory they are using. After you launch Chromium, the Task Manager can be accessed from the wrench icon at the top right hand corner of the browser.
However, keyboard shortcuts are better. SHIFT+ESC
will bring it up much faster.
There are five tabs running in this screenshot but no way of reducing the memory foorprint. The solution is to add a command line switch. How? Simple really: we need to add it Chromium's desktop launcher. If you don't already have one, just locate the browser in the appropriate menu and drag it onto the desktop. All you then have to do is to add that switch. Right click the desktop icon, select Properties, and then click on the Launcher tab.
Type in --purge-memory-button
after /usr/bin/chromium-browser %U
and you're done. Now, when you start Chromium from the desktop icon Task Manager has an added button.
Click the purge memory button and watch those stats drop. Result.
That's all there is to it. Final note: if you launch Chromium from the menu, you won't have the purge button in the Task Manager.