2007-04-07, 05:32 PM
tipstir Wrote:I've been monitoring the memory and increased the page file. My 1GB I always had 600 to 700MB free with GBPVR and 3 MVPs now it dropped to 200MB or even less. Then the system slows down. I know to fix this would be to increase the RAM to 2GB. But looks like some sort of memory leaking is going on. 3 MVP GBPVR.exe are using a lot of RAM and they're not being used. Sometimes I go back to 600MB and sometimes it 128MB So it now 331MB free.I'm not convinced there is any memory leak occurring. Infact, I'm pretty sure there isnt.
I don't know what happen? If I stop GBPvR Recording Service memory goes back up to 800MB free.
If you feel there is though, then look into it the right way - run perfmon to produce a graph of the 'private bytes' of GBPVRRecordingService.exe. Graph it over day or so, so that you can see if there is any increase, and if so, when it occurs (all in one big chunk, or gradually over the course of the day).
If you've got a lot of channels and/or many days of listings, then you'll probably find that there is a big jump in memory usage when the first automated EPG update occurs. This memory will then be freed, but .net wont return it to the operating system unless Window's tells .net that is running low and really needs it. Subsequent EPG updates would be allocated this same memory again by .net.
Looking at the memory usage or free memory in Windows Task Manager doesnt tell you squat, and gives pretty confusing information for those that dont understand exactly what it is telling you.