[Bugs] #4889 Sugar NORM: virtual memory leak in background control panel
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Thu Nov 5 01:23:48 EST 2015
#4889: virtual memory leak in background control panel
---------------------+-------------------------------
Reporter: quozl | Owner:
Type: defect | Status: new
Priority: Normal | Milestone: Unspecified
Component: Sugar | Version: Unspecified
Severity: Minor | Resolution:
Keywords: | Distribution/OS: OLPC
Bug Status: New |
---------------------+-------------------------------
Comment (by quozl):
Agreed. However the Background panel consumes the most memory so is
easier to test with. A mine canary.
I was starting to worry that it might be the ''unusual'' way that control
panel section views are called, in show_section_view() in
src/jarabe/controlpanel/gui.py:
{{{
mod = __import__('.'.join(('cpsection', option, 'view')),
globals(), locals(), ['view'])
view_class = getattr(mod, self._options[option]['view'], None)
}}}
But still a 175 kbyte/sec leak occurs if the background panel is modified
to rescan and reload the images in the Gtk.ListView when the "Clear
background" button is pressed. See first file changed in my
[http://dev.laptop.org/~quozl/z/1ZuDr1.txt test patch]. That's not
closing and opening the panel.
--
Ticket URL: <https://bugs.sugarlabs.org/ticket/4889#comment:8>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list