Minimizing memory usage

Do not post support requests, bug reports or feature requests. Discuss CEF here. Non-CEF related discussion goes in General Discussion!

Minimizing memory usage

Postby Patrick » Wed Jan 11, 2012 4:59 am

After opening a few websites, the memory usage went up pretty high
Are there any hints that I can reduce the usage? or can do something like purge memory in chrome?
Patrick
Newbie
 
Posts: 5
Joined: Sun Aug 28, 2011 11:20 pm

Re: Minimizing memory usage

Postby magreenblatt » Wed Jan 11, 2012 5:36 pm

How much memory usage are you seeing?

The V8 JavaScript engine uses a garbage collector, so memory is not immediately released in all cases. Over time memory usage should even out. See http://code.google.com/p/chromiumembedd ... tail?id=86 for a technique that can be used to measure CEF memory usage.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Minimizing memory usage

Postby Patrick » Mon Jan 16, 2012 5:47 am

Sorry for late reply :D
I'm getting a different number with perfmon(using same scale, loading large sites like facebook/gmail)
it was around 80 on first log in, then peaked(150+) after some time

In my application, I have to open few of these sites on separate process...
I know the main problem comes from my design, that doubles the mem usage 8-)
I just wanted to know if there are any ways to make it better
History/cached pages is not important in my case
Any suggestions are welcomed! thanks!
Patrick
Newbie
 
Posts: 5
Joined: Sun Aug 28, 2011 11:20 pm


Return to CEF Discussion

Who is online

Users browsing this forum: No registered users and 149 guests