Bug 10464 - Memory Leak In SqueezeCenter
: Memory Leak In SqueezeCenter
Status: RESOLVED WONTFIX
Product: Logitech Media Server
Classification: Unclassified
Component: Windows Service
: 7.3.1
: PC Windows XP
: -- normal (vote)
: ---
Assigned To: Unassigned bug - please assign me!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-12-26 06:58 UTC by Craig Stevenson
Modified: 2009-01-09 10:49 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Craig Stevenson 2008-12-26 06:58:17 UTC
I am seeing a pretty significant memory leak in the Windows version of SqueezeCenter.

The symptoms are that memory utilization continues to rise when SC is left running for a long period of time.  For example, memory utilization rises from 49,140K to 86,628K, and the NonPaged Pool usage rises from 100K to 347K over a period of several weeks.  This server runs v7.3.1-24291, has 4 devices attached to it, and three out of the four are heavily used.

On another system, running v7.2-22900, the memory utilization rises from 16,024K to 78,020K.  Interestingly, the NonPaged Pool usage does not rise on this system.  (This one only has two devices attached to it, and one of them is seldom used.)

Hope this information helps.

Craig
Comment 1 Michael Herger 2008-12-29 13:39:37 UTC
Around 80MB is absolutely normal. The fact that it isn't using it all from the beginning is eg. thanks to the delayed/on demand loading of some display and web UI code. That said memory footprint shouldn't grow indefinitely. If it grows >>100MB, then something's wrong.

IMHO this is not a bug, but a design decision. Growth on demand :-)
Comment 2 Craig Stevenson 2008-12-29 13:42:50 UTC
Actually, I'm not as concerned about memory usage itself, but the Non-Paged memory usage is what gives me pause.  SC uses FAR more non-paged memory than any other application that I run, and I run quite a few.  On a 32-bit OS, non-paged memory is quite limited, and I'd rather not have SC use it all up....

Comment 3 Chris Owens 2009-01-09 09:30:47 UTC
We don't explicitly use non-paged memory.  My guess is this is caused by mysql, which will be going away soon replaced by sqlite.
Comment 4 Craig Stevenson 2009-01-09 10:49:20 UTC
That sounds plausible.  What version of SqueezeCenter will have SQLITE?