Shutdown is slow with many selections
Bug #239064 reported by
Andy Balaam
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
FreeGuide-TV |
Fix Released
|
High
|
Unassigned |
Bug Description
If you make lots of selections of programmes FreeGuide shuts down very slowly.
We should purge out-of-date selections on exit so they don't slow us down in the future.
Changed in freeguide-tv: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
To post a comment you must log in.
This also affects startup -- if there are a lot of selections, the startup on Linux can be painfully slow. I have two Schedules Direct lineups with an average of 110,000 programs in the 24 day window (10 before, 14 after) and it takes 3+ minutes to start up. I ended up writing a perl/bash script which cleans out the database before the program starts and it helps a lot but try leaving the program running for a couple of weeks without shutting it down and most operations become painfully slow.
[mmclagan@titan ~]$ cd .java/. userPrefs/ org/freeguide- tv/modules/ reminder- alarm/
[mmclagan@titan reminder-alarm]$ dir
total 720
-rw-rw-r-- 1 mmclagan mmclagan 730084 Jun 24 00:24 prefs.xml
<entry key="favourites List.size" value="810"/> ctionList. size" value="1894"/>
<entry key="manualSele
The attached script, called 'prefsage' is run each time I start up Freeguide so that it drops every possible selection older than the 10 day limit of the SER files. It could be run after Freeguide exits but that could leave extra selections on the next startup.