assistant: Fixed several minor memory leaks that manifested when adding a large number of files.
This commit is contained in:
parent
404c750489
commit
b92b54bd42
9 changed files with 39 additions and 19 deletions
|
@ -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]]
|
||||
|
|
BIN
doc/bugs/import_memleak_from_the_assistant/leakafter.png
Normal file
BIN
doc/bugs/import_memleak_from_the_assistant/leakafter.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 42 KiB |
BIN
doc/bugs/import_memleak_from_the_assistant/leakbefore.png
Normal file
BIN
doc/bugs/import_memleak_from_the_assistant/leakbefore.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 23 KiB |
Loading…
Add table
Add a link
Reference in a new issue