You need to be logged in to post in the forums. If you do not have an account, please sign up first.
Opera memory leak?
Hi, I've got problem with my browser - I'm using opera 12 x64 and it's literally eating every single free byte of memory. I've got about 50 tabs opened. Memory usage in this moment is about 5GB for browser and 500MB for plugin wrapper. Any idea how to minimize this memory consumption?Latest Opera-Snapshot
Windows Vista SP2
Browser JS • Changelogs • Opera Next • Dragonfly • Bugs • Crashes • FTP
My Website ▪ My Forums ▪ Opera Review ▪ My Fonts ▪ IrfanView • Search • Downloads
Opera 11.64 on Windows XP Home • AMD64 3500 1GB RAM specs
Rules of Conduct and Posting Rules • Please Don't Shout • Editing Posts • Opera Config Links
Originally posted by LeoCG:
Do you notice any memory leak if Opera has no tab opened?
Try opening each one of those 50 tabs at a time to find which one may be causing the problem.
When starting clear browser memory usage is about 100MB. I'll have to try closing tabs.
Originally posted by Astrophizz:
The 32 bit version will limit you to 3 GB of memory unless Opera uses the large address space flag and the smaller address pointers won't make up for the 20-40% max memory reduction from the 5 GB you hit, so you'll see more paging from Opera, and likely a lot of disk thrashing.
Changing to 32bit is an option, but I would like to know why memory consumption is so big... Tool like opera:cpu which would show memory usage would be useful.
I use Vista 32 bit home premium fully up to date. Currently I have 2 gig of ram, (soon to upgrade to 4).
TR
After a while the RAM usage starts to skyrocket, and finally it actually freezes W8, which have to be reset with the power button!
If I can exit Opera before this happens it will only use 6-700MB when I restart Opera, as opposed to 1.5-2+GB, with exactly the same tab open.
This problem was much more apparent after enabling WebGL and hardware acceleration.
I'm not hijacking this thread, but while searching the forums I found this thread to describe my issue virtually to a tee.
I'm using W7 x64 with 16 Gb and was using Opera12 x64 (12.11.1661) until recently.
Like the others I too keep many tabs open, and in a normal setting this puts its memory usage between 4 and 5 Gb.
When I got home from work about a week ago I found the machine had all but crashed. Every bit of memory had been allocated by the opera process, to the point that windows stopped updating the shell processes. I tried to kill the process using the task-manager, but was forced to cut the power to the machine instead.
Upon reboot I attempted to start opera, only to see that the process started allocating massive amounts of memory even before the GUI was shown, by massive I mean that I chose to kill it after it had allocated 160 Gb. I attempted to start it three time with the same result. I also tried to re-install it, before I finally installed 11.64.1403 in frustration.
What's the suggested action now? How can I restart a "clean" session with v12, preferably with the option to keep the copy of the old session if it is at all salvageable. Also would anybody venture a guess as to what actually happened?
Thanks!
-Toddler
19. December 2012, 19:27:17 (edited)
Originally posted by toddlerfromhell:
Search your Opera profile folder (standard location is C:\Users\USERACCOUNT\AppData\Roaming\Opera\Opera ). Go to "sessions" folder there and rename autosave.win to something like bad-autosave.winHow can I restart a "clean" session with v12, preferably with the option to keep the copy of the old session if it is at all salvageable.
I would also check Flash player settings & cache via Control Panel. I recently upgraded to 11.5.502.135, and discovered the setting was changed to "Allow sites to store information in this computer" from my preference "Block ..."
You may also want to delete (or rename if you want to play safe) C:\Users\USERACCOUNT\AppData\Local\Opera\Opera\pstorage folder, in case something in there is corrupt.And if you want to be thorough, you can probably delete C:\Users\USERACCOUNT\AppData\Local\Opera\Opera\cache without any harm. (Or rename it to be safe, again.
)Good luck
[Edit] Strike-through and added two sentences after that.
New Zealand All Blacks the 2011 Rugby World Cup Champion

Want to send me a message? Send it to mimismum(at)myopera.com (not mimi_s_mum@myopera.com)
Thanks for the suggestions.
Unfortunately these did nothing to counter the memory issue I am having. If anything, it only made v12 x64 occupy whatever RAM it can get at even faster. It went from nothing to 100+ Gb in less than 3 seconds, I didn't have time to kill the process in the task manager before windows became sluggish. :-(
I'd be really interested to hear what others suggest for this scenario, because as it stands the x64 build of v12 is broken. The x86 version seems to behave. It uses 2.1 Gb with the same number of tabs open.
I'll post again if anything changes.
-Toddler
If a -pd switch generated profile exhibits the same issue as your default profile, then we can safely conclude the issue is indeed with Opera 12.11 x64 installation. If not, then you can try narrowing down exactly what setting or particular file is causing your issue. This topic shows you one example of how one might go about doing such troubleshooting: http://my.opera.com/community/forums/topic.dml?id=1463912
New Zealand All Blacks the 2011 Rugby World Cup Champion

Want to send me a message? Send it to mimismum(at)myopera.com (not mimi_s_mum@myopera.com)
Originally posted by LinuxMint7:
Or just do this and you don't even need to run the installer.Try a 'Stand-alone(USB)' install.

Mind you. Stand-alone installation has its own issue(s). FYI: http://my.opera.com/community/forums/topic.dml?id=1581842
I'm off to bed. Have happy trouble shooting, guys.

New Zealand All Blacks the 2011 Rugby World Cup Champion

Want to send me a message? Send it to mimismum(at)myopera.com (not mimi_s_mum@myopera.com)
13. January 2013, 13:42:15 (edited)

-Disable "remember content on visited pages"
-Set Ram Cache to a number: e.g. 100Mb
-Disable images cache in RAM: opera:config#Cache|CacheFigs
Plus my Internet is slow, so i have enabled;
-large 400Mb "Disk Cache" (on RamDisk though
, so that Opera use already downloaded data more and more with fast access time, even between restarts
)-check images : never
For me, fresh Opera starts take ~125Mb Ram, with these setting enabled Ram Usage drop to ~160Mb when i close all open tabs

Windows 8 64bit
Opera 12.12 64bit (Mail client enabled)
Ram 8Gb
I have started to close Opera about once every day ot two, and it appears to help. Haven't had any crashes for a while.
Earlier Opera could take 10min or more just to close down, when it had been running for several days, but now it is usually quite fast. That I have installed a SSD helps a lot, but it was faster before I did that too.
When restarted it uses a lot less RAM than before it was closed - usually less than 20%, with all the same tabs open.
I wish to report that I am using the Opera Version 12.14 Build 1738 (x64) (Win 7 Home Premium SP1) and am experiencing high memory usage too. Below is 1 instance with plugins and animations disabled, only 3 tabs opened:
[img]http://i47.tinypic.com/2n01s0z.jpg
Cheers!


When I took that screenshot, I had only 3 tabs with very little images (including this forum page). Flash and other plugins were disabled, no mail and rss accounts.. Have been comparing the memory usage with the 32-bit version running on same system.. I will monitor further and post updates