[ubuntu-download-manager] storage memory leak fills up disk space

Bug #1542853 reported by Michael Zanetti
10
This bug affects 2 people
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/share/ubuntu-download-manager/Downloads

I have a bunch of files with this sort of file name around:
com (3).ubuntu.docviewer_2.0.226_armhf.click

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

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

Fix along with bug #1461444

Changed in canonical-devices-system-image:
assignee: nobody → Bill Filler (bfiller)
importance: Undecided → Medium
milestone: none → ww08-2016
status: New → Confirmed
Changed in ubuntu-download-manager:
assignee: nobody → Michael Sheldon (michael-sheldon)
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
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.