[webkit-dev] Regarding cache memory leaks

Holger Freyther zecke at selfish.org
Mon Oct 18 12:18:52 PDT 2010

On 10/18/2010 02:55 PM, sumanrapolu at aim.com wrote:
> Hi Holger,

(please keep the mailinglist in the loop)

> We have applied the
> patch(https://bug-44806-attachments.webkit.org/attachment.cgi?id=68154) to
> remove the "deadResources", which is working fine. Because of this patch the
> duration to consume the entire available RAM has increased. But still the
> "liveResources" are not freeing, due to which its again consuming the entire
> available RAM. 

my time is limited right now so I can not help you in my spare time. But if
the encoded data of the current page is more than fits into your RAM there is
not much you can do, you can either wait to get killed by the kernel, or you
can stop loading the page. Just imagine you would throw away images you have
already downloaded, you would need to download them again.. in most cases
where you have limited RAM you also have limited bandwidth...

The two things that I can propose are:
	a) verify thay you are not leaking memory. Create a simple page, reload it in
a loop, repaint it and see what happens to your memory...
	b) ask the Linux VM to overcommit memory and see how far you can push things.

I just can't commit more of my spare time to look into memory usage of
WebCore, I wish I could spend more time on WebKit...

More information about the webkit-dev mailing list