summaryrefslogtreecommitdiff
path: root/doc/todo/more_efficient_memory_usage_with_git-annex_unused
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-01-31 12:30:44 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-01-31 12:30:44 -0400
commit444b91ab22d30b7ca2eb1821dda28db38e9d4a3c (patch)
tree00114966acebd98cca5b1c09c0dbd4d9364b3e89 /doc/todo/more_efficient_memory_usage_with_git-annex_unused
parent874e55ecb3c620563e5967ce3150b12cbc822814 (diff)
reproduced bug; started analysis
This commit was sponsored by Peter Hogg on Patreon.
Diffstat (limited to 'doc/todo/more_efficient_memory_usage_with_git-annex_unused')
-rw-r--r--doc/todo/more_efficient_memory_usage_with_git-annex_unused/comment_1_e7811b548054d3d6851facb8d3bf8153._comment25
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/todo/more_efficient_memory_usage_with_git-annex_unused/comment_1_e7811b548054d3d6851facb8d3bf8153._comment b/doc/todo/more_efficient_memory_usage_with_git-annex_unused/comment_1_e7811b548054d3d6851facb8d3bf8153._comment
new file mode 100644
index 000000000..5247bb61c
--- /dev/null
+++ b/doc/todo/more_efficient_memory_usage_with_git-annex_unused/comment_1_e7811b548054d3d6851facb8d3bf8153._comment
@@ -0,0 +1,25 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 1"""
+ date="2017-01-31T15:36:58Z"
+ content="""
+You need to provide at least a version number, and ideally enough
+information to reproduce the bug when filing bug reports.
+
+Anyhow, I ran git-annex (HEAD) unused in my big repo, and its memory use
+got up to over 1 gb which is much more than I would expect (should be
+a couple hundred mb max).
+
+The memory growth happens in the stage when it's
+constructing the bloom filter for the keys in the diff between the
+index and other branches. In my big repo, those diffs are quite large;
+eg I have a branch with 70k files and another with 0 files.
+
+I replaced insertMB with noop, so the bloom filters are not really
+populated, and it still uses as much memory. So
+the memory is not being leaked by the bloom filters themselves, but
+is instead being leaked when processing the branch diffs,
+or something like that.
+
+Need to profile to find what's leaking.
+"""]]