Bug#593849: gconf2: gconftool-2 uses up all my ram during package upgrades

Josselin Mouette joss at debian.org
Sat Aug 21 20:03:26 UTC 2010


Le samedi 21 août 2010 à 15:32 -0400, Andres Salomon a écrit :
> Is this one massive chunk of xml, or could it be processed piecemeal?
> (If the former.. aiee!)

There are ~ 40 MiB of schema files to be processed in a typical GNOME
installation. Each of them can contains keys that can be spread anywhere
in the GConf tree, and translations for all of them. The gconftool run
puts them all in a single tree and outputs one XML file for each
language, for a total of ~ 50 MiB.

Doing them piecemeal was the old behavior: it used maybe a bit less
memory, but it was extremely slow since it required parsing all the
output files before being able to modify them.

> Also, is it currently only being run when schemas actually change, or
> just every time a schema file is touched?

It is run once after an upgrade if it touched packages that ship schema
files, regardless of whether the contents has changed.

Cheers,
-- 
 .''`.      Josselin Mouette
: :' :
`. `'  “If you behave this way because you are blackmailed by someone,
  `-    […] I will see what I can do for you.”  -- Jörg Schilling
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20100821/07acb659/attachment-0002.pgp>


More information about the pkg-gnome-maintainers mailing list