Bug 1390975 - mediawriter leaks memory during image download
Summary: mediawriter leaks memory during image download
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mediawriter
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Martin Bříza
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-02 10:44 UTC by Kamil Páral
Modified: 2016-11-15 13:33 UTC (History)
1 user (show)

Fixed In Version: mediawriter-4.0.4-0.fc25
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-15 13:33:50 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Kamil Páral 2016-11-02 10:44:59 UTC
Description of problem:
If I download an image using mediawriter, its memory consumption sky rockets. After downloading Workstation Live image (1.4 GB), I see mediawriter consuming 600-800 MB RAM (while on start it consumed about 100 MB). It seems that memory is not freed correctly during download.

I've found this when trying to download and write an image in a VM with 2 GB RAM, where mediawriter was killed with OOM.

Version-Release number of selected component (if applicable):
mediawriter-4.0.0-2.fc25.x86_64

How reproducible:
always

Steps to Reproduce:
1. run htop or similar to see memory usage of mediawriter
2. start downloading some image, see memory consumption hit the roof
3. see that the memory is not freed at any point, not even after successfully writing the image

Actual results:
downloaded image occupies RAM

Expected results:
image is downloaded to the disk, and not kept in RAM (there's no need)

Comment 1 Fedora Update System 2016-11-11 08:09:03 UTC
mediawriter-4.0.4-0.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-239cdfbfd6

Comment 2 Fedora Update System 2016-11-11 16:57:52 UTC
mediawriter-4.0.4-0.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-239cdfbfd6

Comment 3 Fedora Update System 2016-11-15 13:33:50 UTC
mediawriter-4.0.4-0.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.