| Summary: | gdk leaks memory when opening an image | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Marko Myllynen <myllynen> |
| Component: | gdk-pixbuf2 | Assignee: | Matthias Clasen <mclasen> |
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 15 | CC: | atkac, mclasen |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-08-07 19:20:55 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Marko Myllynen
2011-06-29 20:08:52 UTC
The main problem is that image is really huge. I converted it via djpeg (djpeg -bmp Earthlights_dmsp.jpg > earth.bmp) utility to bmp and the file utility shows: $ file earth.bmp earth.bmp: PC bitmap, Windows 3.x format, 16384 x 8192 x 24 It means image loaded inside memory (in commonly used RGBA format) occupies at least 16384*8192*4 bytes which is around 0.5 GB of memory. Per `valgrind --tool=massif` djpeg utility consumed max 384.7 MB so it means decoding routines in libjpeg-turbo is not the main problem. When I opened both images (bmp and jpeg) via /usr/bin/qiv image viewer then massif told both cases consumed 1.376 GB of memory. So there is no difference in memory consumption between jpeg and bmp cases. Vast majority of allocations were performed via gdk-pixbuf2 routines so I assume gdk-pixbuf2 stores pixel data in too large structures. Reassigning to gdk-pixbuf2 for further inspection. This message is a notice that Fedora 15 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 15. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At this time, all open bugs with a Fedora 'version' of '15' have been closed as WONTFIX. (Please note: Our normal process is to give advanced warning of this occurring, but we forgot to do that. A thousand apologies.) Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, feel free to reopen this bug and simply change the 'version' to a later Fedora version. Bug Reporter: Thank you for reporting this issue and we are sorry that we were unable to fix it before Fedora 15 reached end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" (top right of this page) and open it against that version of Fedora. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping |