[tahoe-lafs-trac-stream] [tahoe-lafs] #1729: memory leak in allmydata.test.test_web
tahoe-lafs
trac at tahoe-lafs.org
Tue May 22 22:31:37 UTC 2012
#1729: memory leak in allmydata.test.test_web
------------------------+-------------------------
Reporter: zooko | Owner:
Type: defect | Status: new
Priority: normal | Milestone: undecided
Component: code | Version: 1.9.1
Resolution: | Keywords: test memory
Launchpad Bug: |
------------------------+-------------------------
Comment (by warner):
Yeah, that seemed to be the problem. The patch I'm about to fix moves that
container out into the !FakeClient created fresh for each test case, which
removes the lingering buildup. With that in place, I see the memory usage
for {{{--until-failure}}} looping of {{{test_web.Web}}} grow to maybe
250MB or 300MB and then drop back to 150MB (as GC kicks in). I think that
closes the leak, although it might be nice to identify why it's still
using so much RAM (maybe the test files it's uploading are excessively
large).
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1729#comment:2>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list