Jason Tackaberry wrote:
> On Thu, 2009-01-22 at 20:21 +0100, Olivier Sessink wrote:
>> memory.. It's running freevo dedicated, so besides the X server and a
>> ssh daemon there is nothing else using memory, still freevo is killed by
>> the out-of-memory killer. What changed? Can I tune the memory usage
> 
> Smells like a memory leak.  Does freevo's memory usage increase steadily
> as you flip through images?

immediately when opening a directory with images the memory usage rises
skyhigh.

without any images, directly after startup:

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
31275 olivier   20   0 76084  40m 8088 S    1  8.4   0:01.85 python

after opening a directory with 114 5megapixel images (9 images shown):

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
31275 olivier   20   0  251m 218m 8152 S    3 46.0   0:10.49 python

after scrolling down the first page (again 9 images, of which 6 new):

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
31275 olivier   20   0  370m 336m 8152 S    2 70.8   0:15.38 python

after scrolling down the second page:
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
31275 olivier   20   0  385m 351m 8152 S    1 74.0   0:20.14 python

after opening a first image:
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
31275 olivier   20   0  422m 388m 8160 S   19 82.0   0:21.97 python

after opening the second image:
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
31275 olivier   20   0  418m 384m 8160 S   54 81.2   0:25.35 python

hit escape, escape, choose a directory with 149 images:
*crash* (more than 515MB of memory used)

for further information:

the system is a Linux Debian unstable system, with freevo-1.8.3
installed from source. It runs on a VIA epia board 1.3GHz Via C7 with
512 MB memory. It boots via PXE and runs root-over-NFS (it doesn't have
a harddisk). Display is provided by the TV out of the Unichrome X11 driver.

regards,
        Olivier

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to