[ubuntu-download-manager] storage memory leak fills up disk space
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
Medium
|
Bill Filler | ||
ubuntu-download-manager |
Fix Released
|
Medium
|
Michael Sheldon |
Bug Description
Running out of disk space, I started to look into where the big chunks are lost. One of them is:
~/.local/
I have a bunch of files with this sort of file name around:
com (3).ubuntu.
Note the (3) in the name. It seems that if a download is retried for multiple times, the file name is extended with (1), (2) to prevent file name clashes. However, the cleanup mechanism seems not to regard those files any more and over time this keeps on using up more and more "unrecoverable" disk space. If this happens with the document-viewer for 3 times (like in my example), there's some 200MB lost afterwards because the document viewer package is some 80MB in total.
Related branches
- PS Jenkins bot: Approve (continuous-integration)
- Ubuntu Phablet Team: Pending requested
-
Diff: 42 lines (+16/-15)1 file modifiedsrc/downloads/priv/ubuntu/downloads/file_download.cpp (+16/-15)
Changed in ubuntu-download-manager: | |
status: | New → In Progress |
importance: | Undecided → Medium |
Changed in canonical-devices-system-image: | |
status: | Confirmed → In Progress |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Committed |
Changed in ubuntu-download-manager: | |
status: | In Progress → Fix Released |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
Fix along with bug #1461444