NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 727 728 729 730 731 … 1231 Next »
Recording Service memory leak?

 
  • 0 Vote(s) - 0 Average
Recording Service memory leak?
djtaylor
Offline

Senior Member

Posts: 505
Threads: 48
Joined: Jan 2006
#1
2006-02-18, 04:14 PM
When the recording service starts, it's about 45MB per task manager. This morning, I had overlapping recordings going since about 6:30am and still going in the afternoon.

The Recording service memory usage was at this time in the hundreds of MB, VM Size of over 560MB. My machine was commiting over 1GB in total with a couple of instances of GBPVR.EXE to the MVP's and was swapping and generally sluggish.

Upon restarting the recording service, it all dropped back down again but now has started going up again during another recording, it's pretty consistent at about 4KB to 8KB per second usage.

David.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 107,005
Threads: 770
Joined: Nov 2003
#2
2006-02-18, 04:24 PM
I'm not aware of any memory leaks, but I do know that the recording service can use a lot of memory. This primarily happens during the EPG update, depending on number of channels and number of days worth of listing. This memory is freed when GB-PVR is finished with it, but the memory management in .net may not return the memory to Windows until it is running low though.

There was some discussion about it in this thread: http://forums.nextpvr.com/showthread.php...management
djtaylor
Offline

Senior Member

Posts: 505
Threads: 48
Joined: Jan 2006
#3
2006-02-18, 06:57 PM
sub Wrote:I'm not aware of any memory leaks, but I do know that the recording service can use a lot of memory. This primarily happens during the EPG update, depending on number of channels and number of days worth of listing. This memory is freed when GB-PVR is finished with it, but the memory management in .net may not return the memory to Windows until it is running low though.

There was some discussion about it in this thread: http://forums.nextpvr.com/showthread.php...management
This isn't during EPG update, that happens in the morning. I call Windows being low on memory, when it has run out of physical and is swapping!! Smile

As I said, it's a pretty consistent 4 to 8KB/s increase. I'll keep an eye on it and report back.

David.
djtaylor
Offline

Senior Member

Posts: 505
Threads: 48
Joined: Jan 2006
#4
2006-02-20, 09:50 AM
Just to revisit this, over the past day, I have observed the recording service creep up and up. It started at about 45MB and then adds on about 4KB/s during recording. I was recording most of the day yesterday and with the tuners presently sleeping this morning, taskmanager is now showing over 400MB.

A couple of piccies of perfmon and taskmgr:-

http://www.nodomainname.co.uk/gbpvr/memory%20usage.jpg

http://www.nodomainname.co.uk/gbpvr/taskman.jpg

Sub, no need to respond if you don't feel like it, just wanted to provide some further info. Smile

David.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 107,005
Threads: 770
Joined: Nov 2003
#5
2006-02-20, 04:30 PM
To honest, I dont really know what to suggest. I've just checked my Recording Service in the lounge, which has been running for about a week. Its using using about 41MB.

What capture devices are you using?
djtaylor
Offline

Senior Member

Posts: 505
Threads: 48
Joined: Jan 2006
#6
2006-02-20, 04:34 PM
I'm running a pair of Nova-T's (90002) and a Freecom stick with the Yakumo drivers.

What I might do is just set up a scheduled task to restart the recording service at stupid o'clock when there's likely to be no recordings happening, that should keep things in check if nothing else. If it's not normal behaviour and nobody else sees the same then it's my problem, i'll deal with it Smile

Cheers
David.
zed
Offline

Senior Member

Arizona, USA
Posts: 660
Threads: 82
Joined: Sep 2004
#7
2006-02-21, 02:32 AM
FWIW, I've noticed the recording service sometimes getting pretty large too. When I got home from work this afternoon it was sitting at about 140M. I restarted some time yesterday and it recorded an hour show late last night but otherwise has been idle. My epg update (zap2it) runs at 07:00. I restarted the recording service about 3 hrs ago and it dropped to about 32M. It has been recording constantly since then and is hanging in there at around 33.5M.

Anyway, just another data point. It's not a Big Deal as it's easy to restart every now and then.

My system is an HP machine running XP Pro with three PVR150MCE's and a gig of memory. I run it without a swap file and rarely have memory issues.

I've also noticed Firefox leaking memory since I updated it a couple weeks ago, which is kind of annoying (not that it has anything to do with GB-PVR)...
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 107,005
Threads: 770
Joined: Nov 2003
#8
2006-02-21, 03:03 AM
Quote:FWIW, I've noticed the recording service sometimes getting pretty large too. When I got home from work this afternoon it was sitting at about 140M. I restarted some time yesterday and it recorded an hour show late last night but otherwise has been idle. My epg update (zap2it) runs at 07:00. I restarted the recording service about 3 hrs ago and it dropped to about 32M. It has been recording constantly since then and is hanging in there at around 33.5M.
That sounds normal. It uses a large amount of memory during the EPG update (particularly for zap2it users). The memory has been freed, but the way .net memory management works, it'll only be reclaimed by Windows when its actually running low elsewhere in the system.
Ecthelion
Offline

Junior Member

Posts: 4
Threads: 1
Joined: Mar 2006
#9
2006-03-22, 04:03 PM
djtaylor Wrote:Just to revisit this, over the past day, I have observed the recording service creep up and up. It started at about 45MB and then adds on about 4KB/s during recording. I was recording most of the day yesterday and with the tuners presently sleeping this morning, taskmanager is now showing over 400MB.

Hi,

I just wanted to confirm that I have observed this too. I had the recording service record two films during one night and found that the next morning the memory consumption had risen from ~40MB to more than 200MB. There was no EPG update or GUI usage during that time.
smeghead
Offline

Senior Member

Posts: 300
Threads: 23
Joined: Jan 2005
#10
2006-03-22, 09:41 PM
Buy more memory
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Audio buzzing second time recording launched. dennit 2 4,717 2012-12-09, 11:28 PM
Last Post: dennit
  Inhibit Computer Shutdown While Recording rwnz 52 31,757 2012-04-03, 11:40 AM
Last Post: pBS
  Start PC for recording, Sleep/Hibernate when done Basher52 6 5,203 2011-12-17, 02:52 PM
Last Post: Sykor
  intermittent recording failures bcdudley 6 3,936 2011-09-28, 07:28 AM
Last Post: bcdudley
  Recording fails but only on one channel (live viewing still works) dshoup 5 3,828 2011-09-19, 01:15 AM
Last Post: sub
  Sattelite interent recording? crsfooddude 1 2,306 2011-07-26, 02:32 AM
Last Post: mvallevand
  Recording problem with Hauppauge Nova-S USB2 ... softfoot 4 3,617 2011-06-27, 02:06 AM
Last Post: sub
  How to kill an orphan Live TV recording? martint123 2 2,507 2011-05-16, 05:33 PM
Last Post: martint123
  SUB: Recording show in two pieces. Found bug(?) lif 10 5,472 2011-05-11, 09:30 AM
Last Post: jksmurf
  Order of tuner use for live tv and recording shaunpatrick77 1 1,875 2011-02-19, 10:49 AM
Last Post: martint123

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode