[Bug 4258] New: memory leak on committing from python
mercurial-bugs at selenic.com
mercurial-bugs at selenic.com
Wed May 21 16:13:08 CDT 2014
http://bz.selenic.com/show_bug.cgi?id=4258
Priority: normal
Bug ID: 4258
CC: mercurial-devel at selenic.com
Assignee: bugzilla at selenic.com
Summary: memory leak on committing from python
Severity: bug
Classification: Unclassified
OS: Linux
Reporter: arne_bab at web.de
Hardware: Other
Status: UNCONFIRMED
Version: 2.9.2
Component: Mercurial
Product: Mercurial
I just started to get out my script for testing the commit performance, but I
am stumbling over a strange memory-leak when using
mercurial.dispatch.dispatch(req) or mercurial.commands.commit(…)
After 7k commits, I see a memory-consumtion of about 3GiB, and rising.
the part of the script which I think is relevant is here:
https://bitbucket.org/ArneBab/hg-vs-git-for-server-apps/src/e57b2a1ca2a427e5f456ac5b6b5f5edc346f6235/run_test.py?at=default#cl-150
this is run in a long loop:
https://bitbucket.org/ArneBab/hg-vs-git-for-server-apps/src/e57b2a1ca2a427e5f456ac5b6b5f5edc346f6235/run_test.py?at=default#cl-213
To test it, just clone the repo and execute make.
https://bitbucket.org/ArneBab/hg-vs-git-for-server-apps
(and watch the memory consumption rise to a few GiB within minutes)
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list