View Single Post
  #238 (permalink)  
Old July 21st, 2005
ZexxMexx
Guest
 
Posts: n/a
Exclamation Make UI more responsive

Limewire currently hangs a lot. It recovers -- usually -- but frequently the UI completely stops responding, sometimes for minutes at a time.

When a file completes downloading or if you select some downloads and cancel them or "clear inactive" downloads, Limewire hangs with 100% CPU use, often for a substantial amount of time and interfering with using other applications on your computer with the excessive CPU use. Clearing inactive downloads makes it hang potentially for half an hour or more -- but it slows down and becomes unstable if you don't every so often, so you're stuck between a rock and a hard place there.

SOMETIMES when you launch a search or change tabs in the search area, but not always, it hangs for about half a minute with zero CPU use. This seems to be a different type of hang. I think this hang is caused by the displaying of a new/different search tab causing it to "think" an inordinate amount and in the main event handling thread to boot -- but since there's no cpu use, it looks like it's blocking on I/O or something in this case. The other, more severe hangs seem caused by the removal, either via completion or cancellation, of items from the download list. It seems to last a time proportional to the number of items removed. In this case it's apparently pure number crunching in the main event handling thread, rather than waiting for some disk or network event in that thread.

Slow sort algorithms perhaps?
Reply With Quote