INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Deleting files from smartlist takes a lot of CPU  (Read 1530 times)

cascius

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 355
Deleting files from smartlist takes a lot of CPU
« on: June 15, 2005, 12:46:57 am »

I'm having a problem when deleting items from my duplicate smartlist, MC stops responding (using 50% CPU). The music and library are on a removable HDD if that matters at all.

- Cas

Code: [Select]
Media Center Registered 11.0.293 -- C:\Program Files\J River\Media Center 11\

Microsoft Windows XP 5.1 Service Pack 2 (Build 2600)
Intel Pentium 4 2989 MHz MMX / Memory: Total - 523 MB, Free - 256 MB

Internet Explorer: 6.0.2900.2180 / ComCtl32.dll: 5.82 (xpsp_sp2_rtm.040803-2158) / Shlwapi.dll: 6.00.2900.2627 (xpsp_sp2_gdr.050309-1648) / Shell32.dll: 6.00.2900.2620 (xpsp_sp2_gdr.050225-1820) / wnaspi32.dll: N/A
Ripping /   No CD drives found.
  Digital playback: Yes /  Use YADB: Yes /  Get cover art: No /  Calc replay gain: Yes /  Copy volume: 32767
  Eject after ripping: Yes /  Play sound after ripping: No 

Burning /  No burners found.
  Test mode: No /  Eject after writing: Yes /  Direct decoding: Yes /  Write CD-Text: Yes
  Use playback settings: No /  Normalization: None
Logged

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Deleting files from smartlist takes a lot of CPU
« Reply #1 on: June 15, 2005, 02:06:14 pm »

I'm having a problem when deleting items from my duplicate smartlist, MC stops responding (using 50% CPU). The music and library are on a removable HDD if that matters at all.

This happens also on my PC when deleting files from my Missing Files smartlist. Rule: [=IsMissing([Filename])]

The CPU usage would be ~100%, but because I have P4 HyperThreading enabled and MC uses only one of the two virtual processors it is only 50%.
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42387
  • Shoes gone again!
Re: Deleting files from smartlist takes a lot of CPU
« Reply #2 on: June 15, 2005, 04:25:26 pm »

This happens also on my PC when deleting files from my Missing Files smartlist. Rule: [=IsMissing([Filename])]

The CPU usage would be ~100%, but because I have P4 HyperThreading enabled and MC uses only one of the two virtual processors it is only 50%.

That expression is physically checking for every file.  It could be very slow depending on your environment.
Logged
Matt Ashland, JRiver Media Center

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Deleting files from smartlist takes a lot of CPU
« Reply #3 on: June 15, 2005, 04:43:11 pm »

That expression is physically checking for every file. It could be very slow depending on your environment.

Yes, I know, but that is not what happens. In this case CPU usage maxes out and MC hangs totally. It will not recover. Only killing it in Task Manager helps.
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Deleting files from smartlist takes a lot of CPU
« Reply #4 on: June 15, 2005, 05:12:39 pm »

Effectively the problem crashes MC instantly when "delete from library" is accepted. I just mentioned the CPU usage because probably also cascius uses HyperThreading.
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42387
  • Shoes gone again!
Re: Deleting files from smartlist takes a lot of CPU
« Reply #5 on: June 15, 2005, 05:29:55 pm »

Can you reproduce on other smartlists?

Can you reproduce if you don't delete from disk?

Thanks for any more details.
Logged
Matt Ashland, JRiver Media Center

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Deleting files from smartlist takes a lot of CPU
« Reply #6 on: June 16, 2005, 06:13:49 am »

This is interesting. I can't reproduce the problem anymore after booting the PC this morning. Executing the search takes a long time (as always) and a during the search CPU usage is only 3-7% (I didn't check that earlier). Once the smartlist is ready I have no problems deleting missing files from the library. The other smartlists work OK too. I can delete files from the library and from the disk.

Yesterday I could reproduce the problem after a reboot. I wonder what happened during the last night. Perhaps MC was just tired and needed some rest.  ?  ;D

cascius, can you tell anything more about your case?
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

SwellGuy

  • Guest
Re: Deleting files from smartlist takes a lot of CPU
« Reply #7 on: June 16, 2005, 10:04:49 am »

The SmartList deleting problem fix will be in the next build.
Logged

escaflo

  • Galactic Citizen
  • ****
  • Posts: 409
  • And the answer is.... 42!
Re: Deleting files from smartlist takes a lot of CPU
« Reply #8 on: June 16, 2005, 12:54:41 pm »

It also happens on my computer sometimes. It even crash MC once when I try to delete duplicate files.

Hopefully it will be fixed next build! =)
Logged
Don't Panic!
Pages: [1]   Go Up