Get Better Memory Performance in Opera 12
By Anna RohlederAnnaMetro. Tuesday, June 19, 2012 1:13:47 PM
One of the great things about Opera is that it works on all sorts of computers and operating systems.From a shiny new machine with lots of bells and whistles to a very basic setup, Opera makes the most of the resources you have by default. That includes memory. When you have lots of memory, Opera will use larger portions of it to make your browsing faster. But if you think Opera is using too much memory relative to the amount you have available, we have a couple of quick and easy tips you can try.
-
Check to see if it's really a memory problem.
Type opera:cpu in the address field of the browser and press Enter. Doing this will show you the amount of CPU usage that's being taken up by various processes that have been going on in the browser, such as tabs and extensions.
-
Cut down on the excess
If you tend to just keep opening new tabs as you browse, that could be slowing you down. There are two different extensions in the add-ons catalog that can help with this problem. One is Tab Counter, which shows you right in the menu bar how many tabs you have open at the current moment. The second one, No Dupes, will tell you if you have any duplicate tabs of the same website open.
-
Optimize your preferences
Here's an easy one: clean up your browser data! Go to Tools > Preferences > Advanced > Storage. You can also clear your browsing cache and cookies to further speed up page loading.
-
Plug-ins on demand
Last but not least, while you're in Advanced Preferences, go to the Content tab and select "plug-ins on demand" to cut down on the memory used by plug-in content.
Do you have any tips of your own you'd like to share? Tell us in the comments!


Daned4n3 # Tuesday, June 19, 2012 1:16:50 PM
AFAIK, this can't be done with extensions since opera: pages are privileged.
inDigazzZAnuarSh # Tuesday, June 19, 2012 1:35:40 PM
Wrong [No Dupes] screenshot?!
What does 'Other' mean?
Aleksander AasAleksander # Tuesday, June 19, 2012 1:44:45 PM
Originally posted by AnuarSh:
Misplaced. Fixed now
inDigazzZAnuarSh # Tuesday, June 19, 2012 1:57:14 PM
Originally posted by AnuarSh:
stupidicons # Tuesday, June 19, 2012 3:50:32 PM
this problem was reported many times, but nobody cares...
ClashCityRockerclashcityrocker # Tuesday, June 19, 2012 4:04:00 PM
They are took hung up on how much of their otherwise wasted memory Opera is using.
They REALLY want slow browsing and only using 10MB when their PC has 4GB of memory, then perhaps they should use the Opera Mobile emulator for Windows...
stupidicons # Tuesday, June 19, 2012 4:16:30 PM
QuHno # Tuesday, June 19, 2012 4:34:20 PM
Originally posted by clashcityrocker:
Oh, that is simple in Windows: Start Opera with memguard.
If there is a memleak log, there is a memleak.
btw: There is.
If Opera eats up all RAM and does some heavy thrashing on the HDD to fill the swap file with literally gigabytes of data too, then there is a problem too. It might not be a memleak, but still a problem to solve.
Closing the tabs that cause Opera 12 to eat up all available memory can't be the solution because that wasn't needed with the previous versions. I know some people who lived happily for years with 100+ tabs always open - and then came 12. Most of them were warned and had made a backup before, but some are very unhappy now.
The next problem: There are some pages that cause Opera to use all Processor power and eat up all available memory in such a bad way, that not only Opera freezes, but the whole Operating System UI freezes so that you can't even shot the offending pages or task kill Opera. This did not happen before.
The shiny opera:cpu page doesn't help with this at all - only a decent watchdog would.
zentechinc # Tuesday, June 19, 2012 4:54:10 PM
While I think the opera:cpu tab is clever and an excellent attempt at transparency with regard to the browser's performance; I also think it can be improved significantly. Why not show a memory usage per page? Include an active audio flag to show which tabs are currently generating audio (who doesn't hate having to stop their reading and music to find an annoying advertisement for TV dinners on some obscure page that is queued to be read later). better yet, how about a mute or freeze or archive feature that allows tabs to be put on a figurative back burner.
I guess that is what sessions and bookmarks are for though. Speaking of sessions, can we please get a way to observe a sessions content and maybe add/remove things from a session in question?
Also, Opera Link of news feeds would be delightful.
It seams to me that anyone with the presence of mind to actually want to see CPU resource consumption is probably a power user and advanced enough to also be concerned about the various other attributes associated with the page.
Wow, this kind of turned into a wish-list, huh?
Sorry about that.
Robyyourscreamsareinvain # Tuesday, June 19, 2012 6:59:43 PM
Opera uses huge amounts of processor power and memory when lots of tabs with flash and video content are opened.
Opera is even in a state similar to a freeze when I open a few tabs like that. It takes some time before I can continue using it, everything is super delayed for a while.
And YES, please add RSS feeds to Opera Link! How much longer will i have to beg for it?
When i add new feeds on one computer i have to transfer them manually to the other. And I have to mark stuff as read for each computer separately.
But Opera is still the best
Built in email, feeds, contacts, notes, speed dial and shortcuts ftw!
Thanks for the hard work!
earth01 # Wednesday, June 20, 2012 7:24:33 AM
Then, the more you browse, the more it uses memory and it keeps all the content used in memory. So when you reach the end of the RAM, even with all tabs closed, you cannot browse anymore unless you restart the browser.
The main problem is here I think.
NB : The settings in O/Settings/Preferences.../Advanced/History have no effects.
Petter Nilsenmitchman2 # Wednesday, June 20, 2012 8:33:16 AM
dbratell # Wednesday, June 20, 2012 9:04:51 AM
Making it possible to switch to/activate the tab when it refers to a tab would also be a nice improvement and I've seen the need myself (I have about 200 tabs open and not all with unique titles).
About memory usage in general, I think that is something we can keep improving. It's always a balance with performance and memory usage and to keep one high and the other low you have to do very smart things and I don't think we've run out of smart things to do yet. :-)
One thing to realise about the current Opera memory usage policy in our desktop product is that we'll happily use memory up to a limit to make history navigation and page loading faster. It's only once we're past that limit that we really try to limit memory usage.
Since this is a rather technical post you I'll tell you how to see that limit. Open opera:memdebug and look at the first line:
In my case (with 200 tabs) it is:
Documents 680858 kB 307200 kB 221
That says that we're at 221% of the limit which means that no more memory will be spent on making my loading/history navigation fast.
As proved by the line:
Cached documents 0
If you are below that limit (especially if you are below 80%) then we'll keep pages in memory even though you left them and the surest way to free the memory is to close the tab.
The rest of opera:memdebug is kind of technical. Don't worry too much about it. Maybe someone will make an article explaining the interesting parts of it at some time though.
earth01 # Wednesday, June 20, 2012 9:22:27 AM
What can you say about the behavior I described above ? I'm sure you experienced that too.
ferry suradiferrysuradi # Wednesday, June 20, 2012 6:52:42 PM
Muhammad Shahmi Bin Said @ SaidiTechnosparks # Thursday, June 21, 2012 10:21:06 AM
QuHno # Thursday, June 21, 2012 6:36:21 PM
Originally posted by mitchman2:
Thanks for clarification.Should we send it anyway if it happens in combination with a crash?
Joel Spadinspadija # Friday, June 22, 2012 2:00:29 AM
Of course, if you have a more reasonable number of tabs open, this isn't an issue.
Charles SchlossChas4 # Friday, June 22, 2012 1:33:47 PM
naymah3 # Friday, June 22, 2012 8:50:51 PM
Originally posted by AnuarSh:
i do loved to see new thingsColdWarBaby # Monday, June 25, 2012 3:34:23 PM
I've got a really old PC and I can't afford a new one. I've only got 512 MB DDR @ 132MHz of RAM. The minute I activate Opera, or any other browser for that matter, my memory usage goes up to over 80% and sometimes it hits 100%.
So what's this "memguard" and is safe and worth installing. Avast tried to prevent me from downloading it so that concerns me a bit.
I always update to the newest version of Opera whenever one is available. One would expect that to lead to a better browsing experience but, in fact, it just seems to keep getting worse. I suppose that's my fault because I've been pretty much broke for the last 12 years and can't afford a new "improved" PC and each new version of Opera is undoubtedly designed with the "new and improved" technology in mind.
I was pretty happy with Opera when I first started using it. I made it my default browser. Is there any way I can go back to an earlier version?
QuHno # Monday, June 25, 2012 9:03:41 PM
Description of the old, outdated memguard and what it does here. Do not install those files for Opera 12! That is just an explanation what it does and how it works, it is now built in!
To activate it, just place a file called memguard.ini on your desktop. This file should contain the word
all
in plain text in it and it will work with the next Opera 12 start.
Be aware that this can cause heavy load and disk thrashing, way more than a normal Opera run and is meant for catching errors only.
ColdWarBaby # Tuesday, June 26, 2012 1:46:58 PM
Doesn't sound like memguard will be of any benefit to me. I think I'll simply have to find a way to "upgrade" my PC. I can't afford a new one but I might be able to juice up the ram and maybe even the processor on this one. All depends on what it will cost.
roso wongespwongesp # Wednesday, June 27, 2012 12:41:47 PM
perrybarette # Friday, June 29, 2012 1:42:10 PM
Duh, how did I get here ? Anyway, if you will use a RAM optimizer (compacting your memory and reserving contigous space ) before you run Opera 12 by including it as an option on the desktop shortcut, that will be a better option than memguard. Visit your favorite free software download site for datails... AFAIK ... haven't we met at motherboard.com before ... ?