From 4cf6d95c1a9d10cb59669eaceafce4c7a3155eb6 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 5 Jan 2014 21:30:48 -0400 Subject: assistant: Fixed several minor memory leaks that manifested when adding a large number of files. --- doc/bugs/import_memleak_from_the_assistant.mdwn | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'doc/bugs/import_memleak_from_the_assistant.mdwn') diff --git a/doc/bugs/import_memleak_from_the_assistant.mdwn b/doc/bugs/import_memleak_from_the_assistant.mdwn index 541d1707d..5a0a0225b 100644 --- a/doc/bugs/import_memleak_from_the_assistant.mdwn +++ b/doc/bugs/import_memleak_from_the_assistant.mdwn @@ -1596,3 +1596,13 @@ rsync error: error in rsync protocol data stream (code 12) at io.c(605) [sender= # End of transcript or log. """]] + +> [[Fixed|done]]. This was several garden-variety haskell laziness leaks, +> all fixed by adding strictness annotations. +> +> Before: [[leakbefore.png]] +> After: [[leakafter.png]] +> +> Looks like I got them all, and it returns to running in constant space +> after adding and uploading the files (which can take memory porportional +> to the number of files that were added/changed at once). --[[Joey]] -- cgit v1.2.3