| View previous topic :: View next topic |
| Author |
Message |
lalebarde Guru


Joined: 03 Sep 2006 Posts: 420 Location: France, Haute-Garonne
|
Posted: Tue Apr 24, 2012 7:55 am Post subject: opera eats too much RAM. How to restrict it ? |
|
|
Hi all,
From a fresh boot :
| Code: | # free -m
total used free shared buffers cached
Mem: 7965 1396 6569 0 118 517
-/+ buffers/cache: 760 7205
Swap: 17476 0 17476 |
After Opera browser launch (10 windows with around 20 tabs per window) :
| Code: | # free -m
total used free shared buffers cached
Mem: 7965 5178 2786 0 127 802
-/+ buffers/cache: 4248 3716
Swap: 17476 0 17476 |
So Opera eats 7.2 - 3.7 = 3.5 Gb !!!
Is there a mean to make it use less RAM please ? |
|
| Back to top |
|
 |
ppurka Advocate

Joined: 26 Dec 2004 Posts: 3047
|
Posted: Tue Apr 24, 2012 8:09 am Post subject: |
|
|
You can decrease the memory usage, but you will have to give up some functionality. Try this website:
http://operawiki.info/operaperformance
Also, I think you can turn off the feature which searches through the text in all of your visited websites whenever you type something in the address bar (I can't remember what is the config option to turn this off), then turn off stuff that you don't use (like mail, extensions, widgets, etc). Finally you can try using opera's own toolkit (instead of gtk or qt) - set opera:config#FileSelector|DialogToolkit to 4. There are probably several other tweaks that can be done. I can't remember them all.  _________________ emerge --quiet redefined | E17 vids: I, II |
|
| Back to top |
|
 |
lalebarde Guru


Joined: 03 Sep 2006 Posts: 420 Location: France, Haute-Garonne
|
Posted: Tue Apr 24, 2012 10:29 am Post subject: |
|
|
| Thanks very much ppurka. I am going to try that. |
|
| Back to top |
|
 |
lazy_bum l33t


Joined: 16 Feb 2005 Posts: 679
|
Posted: Sat Apr 28, 2012 8:31 pm Post subject: Re: opera eats too much RAM. How to restrict it ? |
|
|
| lalebarde wrote: | So Opera eats 7.2 - 3.7 = 3.5 Gb !!!
Is there a mean to make it use less RAM please ? |
You need the RAM for something else or this is just some kind of sport? Is this high or low usage compared to other browser with 10 windows * 20 tabs? _________________ roslin uberlay | grubelek |
|
| Back to top |
|
 |
invasivenorman n00b


Joined: 06 Feb 2012 Posts: 28 Location: ::1
|
Posted: Thu May 10, 2012 5:53 pm Post subject: |
|
|
Certain javascript-heavy sites will gobble up tons of RAM: twitter is especially horrible, and very processor-intensive on opera, as well (xxxterm uses far more RAM, actually for a single twitter window, but also an order of magnitude less processor: 1-4% as opposed to 40% for opera).
Other things, like some web-based mail sites, are also pretty dreadful; and let us leave certain video sites out of our discussion entirely (for fear of perhaps self-incrimination). _________________ gurgle |
|
| Back to top |
|
 |
invasivenorman n00b


Joined: 06 Feb 2012 Posts: 28 Location: ::1
|
Posted: Thu May 10, 2012 5:53 pm Post subject: |
|
|
Certain javascript-heavy sites will gobble up tons of RAM: twitter is especially horrible, and very processor-intensive on opera, as well (xxxterm uses far more RAM, actually for a single twitter window, but also an order of magnitude less processor: 1-4% as opposed to 40% for opera).
Other things, like some web-based mail sites, are also pretty dreadful; and let us leave certain video sites out of our discussion entirely (for fear of perhaps self-incrimination). _________________ gurgle |
|
| Back to top |
|
 |
savalas n00b

Joined: 10 Dec 2009 Posts: 40
|
Posted: Sat May 12, 2012 5:58 pm Post subject: |
|
|
| By default, the memory cache (Preferences > Advanced > History) is set to "automatic" so it'll use as much memory as you have free. And in your case, you still have plenty of memory and no swap in use, so I don't see what the problem is. It's only a bug if you run out of memory. Find a situation where Opera causes you to use the swap, otherwise it's not a bug. |
|
| Back to top |
|
 |
|