[Bugs] #4889 Sugar NORM: virtual memory leak in background control panel

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Tue Oct 6 07:28:05 EDT 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):

 Further testing on XO-1.5 with 1 GB RAM.

 According to changes in {{{/proc/$(pgrep -f jarabe)/smaps}}} the area of
 virtual memory that leaks corresponds to the heap.  The virtual memory is
 also part of the resident set VmRSS, since there is no swap.

 Eventually the heap consumes system memory and Jarabe hangs.  Before it
 hangs, it grows slower and slower.  The test above had to be changed to
 give time for Jarabe to respond;

 {{{
 function test {
   xdotool \
   mousemove 600 450 click 3 sleep 30 \
   mousemove 700 660 click 1 sleep 30 \
   mousemove 935 270 click 1 sleep 100 \
   key Escape sleep 1 \
   key Escape sleep 40
 }
 }}}

 Next step might be to use a tool to analyse what is in heap.

--
Ticket URL: <https://bugs.sugarlabs.org/ticket/4889#comment:2>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list