PDA

View Full Version : 5.2 Scanning: Memory usage constantly increases



Kevin Hawkins
2004-06-27, 05:52
Dean -

My SlimServer loads via the cache in about 1 minute and has 100K
tracks and is great - 280MB usage and fairly snappy but then starts to scan
(validate ?) the library again going to 99% CPU for 7 or 8 hours and
increases its memory footprint to 470MB or so :-( - then it drops back to 5%
CPU - once it does this I have horrible performance issues , blanking
displays, dropouts etc , no doubt caused by the RAM - my system motherboard
can only take 512MB max which it does have. Is this right and is there
anyway to stop this second scan so the server operates just with 280MB or
release the memory after the scan ?? (Win XP). I am not sure why you need
to keep all that extra RAM ? As I mentioned before this is not a bad
playlist or circular library reference issue.

K

> -----Original Message-----
> From: discuss-bounces (AT) lists (DOT) slimdevices.com
> [mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf
> Of dean blackketter
> Sent: 26 June 2004 23:04
> To: Slim Devices Discussion
> Subject: [slim] 5.2 Scanning: Memory usage constantly increases
>
> Hi Simon,
>
> The memory usage will grow and the CPU usage will be
> pretty high while SlimServer is scanning your files. Once
> it's finished, you should see it settle down at a fixed
> memory level and a low CPU usage.
>
> The time it takes to scan all your music depends on the
> speed of the machine and of the hard disk and the size of
> your music library. Once it's finished, you should see
> the size of your music library summarized on the home page.
>
>
> On Jun 26, 2004, at 1:37 PM, Simon Turner wrote:
>
> > I've installed 5.2 on two machines. On one (Win 2000
> indexing 50gb of
> > flac
> > files) all is fine. On the other (XP indexing 150mb of
> mp3 and flac
> > files, 512mb RAM, 1.5ghz PIV) the memory used by the
> scanning process
> > just goes up and up and up. I waited for 6 hours, came
> back to the
> > machine and the RAM usage was up to 460mb, CPU at 99%
> and machine
> > generally unusable.
> > Since then I've done a completely clean install of 5.2,
> and tried
> > indexing just the flac files. This appeared to work fine
> (but I gave
> > up before scanning had finished I think).
> > Now I've tried scanning all my files again but the same
> thing seems to
> > happen... CPU usage for slim.exe varies between 87% &
> 99% (mostly 99%)
> > and RAM usage is constantly increasing (143mb after 20 mins and
> > rising).
> >
> > In case it's important:
> > The scan of all my music files (MP3 and flac) also includes Word
> > documents and other non music related files.
> >
> > Two other things:
> > It'd be very handy to be able to select more than one
> music directory
> > It'd also be very handy to know when scanning has finished
> >
> > Anyone any ideas??
> >
> > Simon Turner
> > Brighton UK
> >
> >
> >

dean
2004-06-27, 08:05
Kevin,

Something's clearly not right here. That second scan shouldn't take so
much time and memory, it's supposed to just validate that the files
haven't changed.

When does the second scan happen? Do you have iTunes or MoodLogic
enabled? Could you turn on the d_info debugging option and grab the
output when it's started the second scan? (Let me know if you need
some additional explanation on how to do this...)

-dean

On Jun 27, 2004, at 5:52 AM, Kevin Hawkins wrote:

> Dean -
>
> My SlimServer loads via the cache in about 1 minute and has 100K
> tracks and is great - 280MB usage and fairly snappy but then starts
> to scan
> (validate ?) the library again going to 99% CPU for 7 or 8 hours and
> increases its memory footprint to 470MB or so :-( - then it drops back
> to 5%
> CPU - once it does this I have horrible performance issues , blanking
> displays, dropouts etc , no doubt caused by the RAM - my system
> motherboard
> can only take 512MB max which it does have. Is this right and is there
> anyway to stop this second scan so the server operates just with 280MB
> or
> release the memory after the scan ?? (Win XP). I am not sure why you
> need
> to keep all that extra RAM ? As I mentioned before this is not a bad
> playlist or circular library reference issue.
>
> K
>
>> -----Original Message-----
>> From: discuss-bounces (AT) lists (DOT) slimdevices.com
>> [mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf
>> Of dean blackketter
>> Sent: 26 June 2004 23:04
>> To: Slim Devices Discussion
>> Subject: [slim] 5.2 Scanning: Memory usage constantly increases
>>
>> Hi Simon,
>>
>> The memory usage will grow and the CPU usage will be
>> pretty high while SlimServer is scanning your files. Once
>> it's finished, you should see it settle down at a fixed
>> memory level and a low CPU usage.
>>
>> The time it takes to scan all your music depends on the
>> speed of the machine and of the hard disk and the size of
>> your music library. Once it's finished, you should see
>> the size of your music library summarized on the home page.
>>
>>
>> On Jun 26, 2004, at 1:37 PM, Simon Turner wrote:
>>
>>> I've installed 5.2 on two machines. On one (Win 2000
>> indexing 50gb of
>>> flac
>>> files) all is fine. On the other (XP indexing 150mb of
>> mp3 and flac
>>> files, 512mb RAM, 1.5ghz PIV) the memory used by the
>> scanning process
>>> just goes up and up and up. I waited for 6 hours, came
>> back to the
>>> machine and the RAM usage was up to 460mb, CPU at 99%
>> and machine
>>> generally unusable.
>>> Since then I've done a completely clean install of 5.2,
>> and tried
>>> indexing just the flac files. This appeared to work fine
>> (but I gave
>>> up before scanning had finished I think).
>>> Now I've tried scanning all my files again but the same
>> thing seems to
>>> happen... CPU usage for slim.exe varies between 87% &
>> 99% (mostly 99%)
>>> and RAM usage is constantly increasing (143mb after 20 mins and
>>> rising).
>>>
>>> In case it's important:
>>> The scan of all my music files (MP3 and flac) also includes Word
>>> documents and other non music related files.
>>>
>>> Two other things:
>>> It'd be very handy to be able to select more than one
>> music directory
>>> It'd also be very handy to know when scanning has finished
>>>
>>> Anyone any ideas??
>>>
>>> Simon Turner
>>> Brighton UK
>>>
>>>
>>>