Jayen Ashar <j...@yahoo.com> writes:

> Unfortunately not without giving you my entire financial data.
>
> However, it seems to be happenning with gzipped XML and not sqlite3. 
> (sqlite3 did increase the memory usage by 20MB, but just the first
> save, and not every save.)
>
> FWIW, my file is 22MB unzipped XML or 12MB sqlite3.

I suggest that you try the following:

- install the valgrind and gnucash-dbg packages

- run gnucash with the following command:

    valgrind --leak-check=full --log-file=/tmp/valgrind-gnucash.log gnucash

  Note that gnucash will be *very slow* and take a long time to start.
  This is to be expected when running a program through valgrind.

- perform several saves so that the memory usage increases abnormally

- send us back the contents of /tmp/valgrind-gnucash.log

If we are lucky, this could help upstream debug what seems to be a
memory leak.

Thanks,

-- 
 .''`.    Sébastien Villemot
: :' :    Debian Maintainer
`. `'     http://www.dynare.org/sebastien
  `-      GPG Key: 4096R/381A7594

Attachment: pgpPKHtv3cPO8.pgp
Description: PGP signature

Reply via email to