albertz / music-player

Music player - endlessly plays your music
http://albertz.github.io/music-player/
BSD 2-Clause "Simplified" License
492 stars 59 forks source link

app beachballs after "clear" and "fillUpTo" a few times #9

Closed llimllib closed 12 years ago

llimllib commented 12 years ago

Steps to reproduce:

  1. play a few songs
  2. clear
  3. fillUpTo a few times

I see some exceptions in the log like this one: https://gist.github.com/4059981

The app is taking up 115% CPU according to Activity Monitor. Memory usage is at about half a gig and monotonically increasing. It alternates between 15 and 16 threads. AM has it marked as (Not Responding).

Two threads appear to be interleaving many exceptions exactly like the one gisted above in the log.

App now at 750 mb a minute or so later. Killing it.

albertz commented 12 years ago

I made a few fixes which should at least partially fix this. It still can get heavy in some cases but not that much anymore. I uploaded a new binary.

albertz commented 12 years ago

I'm closing this now. Reopen if there are still problems.