You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

30. July 2012, 09:52:15

ParanoiK

Posts: 16

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?

p.

30. July 2012, 14:13:59

blackcoder

Posts: 1465

How much memory is installed in your system? Do you notice any negative effects when Opera is using that much memory?
Opera 12.15 Build 1748 (64-Bit)
Latest Opera-Snapshot

Windows Vista SP2

30. July 2012, 18:45:57

ParanoiK

Posts: 16

8GB, yes, definitely. Windows starts to kill random processes.
p.

22. August 2012, 11:43:50

LeoCG

Posts: 8729

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.

Opera Next 12.15 X64 @ Windows 8 Pro X64
Intel Q6600 - 6GB Ram
Nvidia Geforce GT520 1GB

22. August 2012, 11:50:57

Pesala

Reclining Buddha

Posts: 25608

Try the 32-bit version. Opera 64-bit will use more memory.
SkinsTipsButtonsBackupSecurityUser ScriptsLanguage ForumsWiki
Browser JSChangelogsOpera NextDragonflyBugsCrashesFTP
My WebsiteMy ForumsOpera ReviewMy FontsIrfanViewSearchDownloads
Opera 11.64 on Windows XP Home • AMD64 3500 1GB RAM specs idea
Rules of Conduct and Posting RulesPlease Don't ShoutEditing PostsOpera Config Links

23. August 2012, 21:23:37

Astrophizz

Posts: 259

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.

24. August 2012, 10:03:11

ParanoiK

Posts: 16

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.
p.

28. August 2012, 10:08:16

awadim

Posts: 8

Yesterday I had 2,5 GB used in RAM memory, only with several opened sites. yikes
Windows 7 x64 Ultimate, 16 GB RAM.
I thinks, it was after downloading files from internet.

9. September 2012, 08:41:02

pjss

Posts: 1

i`m too have this problem with opera 64bit, i have 8gb of ram and no disk swap, and opera eats about 2gb and windows try to close it sometimes...

18. September 2012, 19:31:46

TarotRedhand

Posts: 3

I think I also am suffering from a memory leak. However I am using the current 32 bit version (double checked before I came here). With between 2 and 6 tabs open I often get a message from AVG that Opera is using 250Mb of ram. The trouble is it doesn't happen every time I use Opera. There is also another symptom. Sometimes, when I close Opera and then 10+ minutes later go to reopen it I get a message telling me that Opera is still closing down and do I wish to force it to restart. Again this also doesn't occur every time.

I use Vista 32 bit home premium fully up to date. Currently I have 2 gig of ram, (soon to upgrade to 4).

TR

30. November 2012, 10:57:17

stigolar

Posts: 1

Using 12.11/32 Memory use increase and when it pass about 1.5 GB performers decrease. When restarted with same tabs, memory use is only 700 kB.

3. December 2012, 17:22:59

bjornkn

Posts: 16

I'm having exactly the same problems (and observations) with Opera 32bit running on W8/64 (with 8GB RAM).
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.

4. December 2012, 20:16:49

zorror

Posts: 9

same problem here, I have tried both 32bit and 64bit opera on Windows 8 x64 opera after some time starts using GB's of RAM even when i have 5-6 tabs open.
Only way to revert it is restart opera

19. December 2012, 16:38:25

Hi all.

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)

mimi_s_mum

Queen of DIY & rugby loving sicfi buff translator

Posts: 2785

Originally posted by toddlerfromhell:

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.

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.win and autosave.win.bak to last-autosave.win. That session should still be available through session manager dialogue. (If autosave.win.bak has a different timestamp from autosave.win, you might also want to rename it to last-autosave.win for keeping)

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 ..." down 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. wink)

Good luck

[Edit] Strike-through and added two sentences after that.
Desktop OS: Windows 8 x64 + 7 x64 sp1 x2 + XP sp3; Mobile OS: Android 4.0.4; Other specs (outdated, sorry)
New Zealand All Blacks the 2011 Rugby World Cup Champion knight

Want to send me a message? Send it to mimismum(at)myopera.com (not mimi_s_mum@myopera.com)

20. December 2012, 07:20:45

Mimi,

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

20. December 2012, 07:53:43

mimi_s_mum

Queen of DIY & rugby loving sicfi buff translator

Posts: 2785

If you really want to do a more extensive troubleshooting, you could try creating a fresh profile using the -pd switch. I use this method described in here and here There are other methods described in comment section of Ruari's original blog post and the wiki post by Michael (burnout426)

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
Desktop OS: Windows 8 x64 + 7 x64 sp1 x2 + XP sp3; Mobile OS: Android 4.0.4; Other specs (outdated, sorry)
New Zealand All Blacks the 2011 Rugby World Cup Champion knight

Want to send me a message? Send it to mimismum(at)myopera.com (not mimi_s_mum@myopera.com)

20. December 2012, 09:04:57

LinuxMint7

The Minty After Dinner Linux

Posts: 2866

Try a 'Stand-alone(USB)' install. Download the installer of the version of Opera you wish to install Click the 'Options' button (Bottom left), And change the 'Install for' option to 'Stand-alone installation (USB). Then change the 'Install path' to a folder of your choice, Eg. 'C:/Temp/Opera 12 Test/' and click 'Accept and install'. You can use this clean/temporary install to test things without affecting your regular installed version of Opera, Then just delete the whole folder to remove it when you don't need it any more.
Opera 12.14 - 1738 (Portable 32bit) on Win8 Pro, Or portable versions of Linux Mint 14 or Puppy Linux Upup Precise - 3.8.3.1

20. December 2012, 09:18:54

mimi_s_mum

Queen of DIY & rugby loving sicfi buff translator

Posts: 2785

Originally posted by LinuxMint7:

Try a 'Stand-alone(USB)' install.

Or just do this and you don't even need to run the installer. wink

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. bye
Desktop OS: Windows 8 x64 + 7 x64 sp1 x2 + XP sp3; Mobile OS: Android 4.0.4; Other specs (outdated, sorry)
New Zealand All Blacks the 2011 Rugby World Cup Champion knight

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)

mubaidr

Posts: 541

You can try following settings to reduce memory usage: wink

-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 p, so that Opera use already downloaded data more and more with fast access time, even between restarts up)
-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 wink


Windows 8 64bit
Opera 12.12 64bit (Mail client enabled)
Ram 8Gb

15. January 2013, 06:38:22

bjornkn

Posts: 16

I believe the problem isn't the normal RAM usage, but when it starts increasing exponentially.
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.

27. March 2013, 23:38:01

frease

Posts: 427

Hi there!

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! smile

28. March 2013, 20:01:32

LinuxMint7

The Minty After Dinner Linux

Posts: 2866

230 MB is not that high, And you don't say what the open tabs contain ?, Is it plain text web sites, Or huge flash based web sites ?. Oh, And don't forget, Any tabs you have closed during that session will still use memory until you restart Opera, So that you can reopen them via the closed tab (down arrow) button on your tab tool bar. Oh, And another oh, If you happen to use Opera's built-in mail client (M2), That will also use memory too, Obviously. smile
Opera 12.14 - 1738 (Portable 32bit) on Win8 Pro, Or portable versions of Linux Mint 14 or Puppy Linux Upup Precise - 3.8.3.1

28. March 2013, 20:55:10

frease

Posts: 427

Hi LinuxMint7, thanks for the reply smile

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 wink

28. March 2013, 21:09:46

techwg

I'm not a PC, I'm a HB

Posts: 281

I have been having more memory issues since I went to x64 but even on the x86 version Opera uses way more memory than firefox. Plus it is not as stable and snappy as it used to be. Opera is feeling like a memory hungry lazy browser bum. It just is not as responsive. Very frustrating.
Close your mind and you will only see what you have always seen. Open your mind and your eyes will see more.

29. March 2013, 06:14:04

techwg

I'm not a PC, I'm a HB

Posts: 281

I just checked on my 32 bit one and when I average the figures out from my 31 tabs, its costing 50MB per tab.. is that not a bit too much per tab? Firefox does not use this much.
Close your mind and you will only see what you have always seen. Open your mind and your eyes will see more.

Forums » Opera for Windows/Mac/Linux » Opera for Windows