Author Topic: Fix for "cannot schedule recording" guid  (Read 3090 times)

Offline Shane

  • Senior Member
  • ****
  • Posts: 181
  • Vista Premium & Elgato EyeTV User
    • View Profile
    • shasam.net
Fix for "cannot schedule recording" guid
« on: February 17, 2006, 12:04:54 PM »
Hi all,

I'm pretty excited to post this as this issue has caused me problems for a while, popping up for no apparent reason. I've previously fixed it by sheduling a system restart twice a week, but with this no more!

The error message given is:
"Cannot schedule recording because guide data cannot be accessed"

Peter Rosser, one of the Developers at Microsoft has posted the following at his blog:

Quote
We have been getting reports about Guide problems from DVB users across Europe and the world, hopefully in time for the next Rollup release (external date not yet announced, but should be late Q1 to early Q2).  The problem typically manifests itself when scheduling many shows to record, but can occur anytime.  Without a code fix, you cannot work around the issue cleanly/easily, but closing the shell (Media Center UI) and restarting the "Media Center Scheduler Service" (ehsched) will reset the state of the machine.

We root-caused the problem to an unusual memory management problem in how we deal with the Guide data.  For performance reasons, we temporarily increase certain buffer sizes during a Guide download, and decrease them again later.  There is a timing issue with garbage collection events in some situations, though, that can cause the decrease to not take effect "in time", thus keeping the buffer sizes large.  This does not actually reduce the amount of real memory used, but it does exhaust the virtual address space eventually.  You can observe the behavior using SysInternals' Process Explorer by adding the "Virtual Size" column (under the Process Performance tab) and observing its value for ehrec.exe.

With better knowledge of the cause, though, comes a better workaround than "gun ehshell.exe and restart ehsched when it happens".  Until the fix comes out, the best thing to do to prevent this problem from occurring is probably to set up a Scheduled Task to do those things for you at a predictable time.

More info on what you need to do is available at this posting on his site:
http://blogs.msdn.com/peterrosser/archive/2006/02/15/DvbGuideProblem.aspx

Regards,
Shane.
« Last Edit: January 01, 1970, 10:00:00 AM by shane »
Shuttle SB83G5M (P4 630 nVidia 6600) running Vista Premium with:
Hauppauge Nova-T 500 MCE Tuner|Ice TV Guide|PIMP|Buffalo LinkStation HD-H160LAN & HD-HG300LAN|Xbox 360 MCE


Share via facebook Share via twitter

question
Channel Scan gave screwy LCNs for Channel 7, 7HD, 7fix

Started by ozbear on Windows 7 Media Center

14 Replies
3423 Views
Last post June 11, 2017, 06:55:31 PM
by raymondjpg
angry
Please fix schedule for V8 Supercars for Sunday Sydney

Started by Allan on IceTV EPG Content

7 Replies
1635 Views
Last post May 22, 2016, 10:08:51 PM
by Tiphanee
clip
Fixer Upper - 9Life Sydney

Started by BrisbaneR33 on IceTV EPG Content

1 Replies
587 Views
Last post November 28, 2015, 09:17:37 AM
by John
xx
Some movies missing the "Movie:" prefix on Beyonwiz T3 EPG

Started by Chuckles on Beyonwiz

1 Replies
948 Views
Last post November 09, 2015, 10:47:34 PM
by simoncasey