Bug 361 - slimserver leaks memory when playing radio station
: slimserver leaks memory when playing radio station
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Audio
: 5.x or older
: PC All
: P2 normal (vote)
: ---
Assigned To: Blackketter Dean
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-06-08 22:23 UTC by Bill Fenner
Modified: 2008-12-18 11:50 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bill Fenner 2004-06-08 22:23:44 UTC
I've been using the CVS slimserver for a while, updating regularly.  Recently, slimserver was killed 
because it was using too much memory:

Jun  6 10:09:27 fenestro /kernel: pid 5365 (perl), uid 1000, was killed: out of swap space

I updated my CVS and ran again; ps shows that the memory footprint definitely increases somewhat 
when switching radio stations:

fenner    72924  0.0  4.0 21512 20764  pa  S+   Mon12AM   8:08.94 /usr/bin/perl -w ./slimserver.pl
fenner    72924  7.7  4.0 21564 20904  pa  S+   Mon12AM   8:11.85 /usr/bin/perl -w ./slimserver.pl
fenner    72924  4.6  4.2 22404 21748  pa  S+   Mon12AM   8:12.73 /usr/bin/perl -w ./slimserver.pl
fenner    72924  2.8  4.2 22476 21784  pa  S+   Mon12AM   8:12.95 /usr/bin/perl -w ./slimserver.pl

and increased significantly with no apparent reason:

fenner    72924  0.0  6.1 32112 31460  pa  S+   Mon12AM   8:18.21 /usr/bin/perl -w ./slimserver.pl

The memory usage is sometimes constant, not constantly increasing, so this may be tough to track 
down.  I haven't managed to track it down with more detail than this yet.
Comment 1 Bill Fenner 2004-06-10 22:17:31 UTC
The running out of swap space was definitely the infinite loop in scanning the music library described in 
Bug 366.  I'll keep my eye on the memory usage now that I've eliminated that.
Comment 2 Blackketter Dean 2004-06-14 13:33:18 UTC
Ok, great.  Open up another bug if you see a memory leak.
Comment 3 Chris Owens 2006-06-16 14:40:22 UTC
There are 536 bugs in the database with targets of '---' that were fixed prior to new year 2006.  I am setting them to targets of 6.2.1 to keep them from showing up in my queries.
Comment 4 Chris Owens 2008-12-18 11:50:58 UTC
Routine bug db maintenance; removing old versions which cause confusion.  I apologize for the inconvenience.