[webkit-dev] WebKitGtk app memory leaks , please help

Xan Lopez xan at gnome.org
Wed Nov 3 09:50:43 PDT 2010

On Wed, Nov 3, 2010 at 7:52 AM, Fedor Kryukov <ynxx at mail.ru> wrote:
> After calling webkit_web_view_get_dom_document() and similar functions (
> webkit_dom... * ) memory is not freed, what am I doing wrong?
> I wrote simple application which handle events (
> load-started/load-finished/etc ) and make some changes in loaded page DOM
> content, so after loading several pages I have a lot of lost memory, no idea
> how to release it.
> I tried to use g_object_unref, but it destroys something..
> --
> View this message in context: http://old.nabble.com/WebKitGtk-app-memory-leaks-%2C-please-help-tp30121202p30121202.html
> Sent from the Webkit mailing list archive at Nabble.com.

The memory management of the GObject DOM bindings is still a work in
progress (unfortunately!). We are trying to figure the best to
automatically collect them, but for now you are correct in saying that
they are essentially "leaked" until the process is over.

See https://bugs.webkit.org/show_bug.cgi?id=40302 for some discussion
on the topic. Our plan is to have this issue resolved before the next
stable release in April.


> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

More information about the webkit-dev mailing list