> On Mar 12, 2018, at 23:18, Anton Shestakov <a...@dwimlabs.net> wrote:
> 
> On Mon, 12 Mar 2018 13:17:21 -0700
> Gregory Szorc <gregory.sz...@gmail.com> wrote:
> 
>> # HG changeset patch
>> # User Gregory Szorc <gregory.sz...@gmail.com>
>> # Date 1520885700 25200
>> #      Mon Mar 12 13:15:00 2018 -0700
>> # Branch stable
>> # Node ID 46905416a5f47e9e46aa2db0e2e4f45e7414c979
>> # Parent  9639c433be54191b4136b48fe70fc8344d2b5db2
>> hgweb: garbage collect on every request
> 
> Queued, thanks.
> 
> Unfortunately, this patch doesn't help a lot when evolve extension is
> enabled: until I turned it off to test, hgweb consistently consumed
> 200MB more on every request (on hg-committed), despite gc.collect(). No
> idea why.

:(

My guess is evolve is storing a reference to a repo or some other large data 
structure in a module-level variable. Leaks like that are pretty easy to spot 
using a tool like guppy’s heap snapshots.
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to