Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
opera eats too much RAM. How to restrict it ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
lalebarde
Guru
Guru


Joined: 03 Sep 2006
Posts: 464
Location: France, Haute-Garonne

PostPosted: Tue Apr 24, 2012 7:55 am    Post subject: opera eats too much RAM. How to restrict it ? Reply with quote

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
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Tue Apr 24, 2012 8:09 am    Post subject: Reply with quote

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. :P
_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
lalebarde
Guru
Guru


Joined: 03 Sep 2006
Posts: 464
Location: France, Haute-Garonne

PostPosted: Tue Apr 24, 2012 10:29 am    Post subject: Reply with quote

Thanks very much ppurka. I am going to try that.
Back to top
View user's profile Send private message
lazy_bum
l33t
l33t


Joined: 16 Feb 2005
Posts: 690

PostPosted: Sat Apr 28, 2012 8:31 pm    Post subject: Re: opera eats too much RAM. How to restrict it ? Reply with quote

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
View user's profile Send private message
invasivenorman
n00b
n00b


Joined: 06 Feb 2012
Posts: 28
Location: ::1

PostPosted: Thu May 10, 2012 5:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
invasivenorman
n00b
n00b


Joined: 06 Feb 2012
Posts: 28
Location: ::1

PostPosted: Thu May 10, 2012 5:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
savalas
n00b
n00b


Joined: 10 Dec 2009
Posts: 40

PostPosted: Sat May 12, 2012 5:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum