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 … 390 391 392 393 394 … 1231 Next »
Serious memory leaks in Recording Service with 1.1.5

 
  • 0 Vote(s) - 0 Average
Serious memory leaks in Recording Service with 1.1.5
BotLogic
Offline

Junior Member

Posts: 11
Threads: 1
Joined: Oct 2006
#1
2008-01-03, 04:25 AM (This post was last modified: 2008-01-05, 09:56 PM by BotLogic.)
OS: Win XP x64 with SP2
App ver: 1.1.5 (although this issue has been present for quite a while)
Extra plugins: None
Card type: ATI Theater 550 Pro
RAM: 4 GB

When the GB-PVR Recording Service starts recording a show in the background, my system RAM decreases and goes down to less than 100 MB free, making my system quite unusable. It stays this way until the point the recording is complete, after which I suddenly and instantaneously recover all the lost RAM, and end up with about 3 GB available. Something thus gobbles up 2.9 GB of RAM! This apparently is indicative of serious memory leaks in the GB-PVR Recording Service application. What can be done about this? Thanks.

At this time I do not have a perf graph, but I suppose I can get one.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,823
Threads: 769
Joined: Nov 2003
#2
2008-01-03, 04:31 AM
Its actually fairly normal that the recording services uses about 100MB, if not more if it has done an EPG update. The way .net memory management works means that memory that is no longer used by the application is not freed back to the operating system until Windows tells the .net framework it really needs the application.

I'm not aware of any leaks, but if you're sure it is, then try graphing the 'working set' and 'virtual bytes' (of GBVPRRecordingService.exe) in Perfmon.exe over long period of time and I'll take a look.

GB-PVR's recording service using 100MB on you system 4GB shouldnt make your system "unusable".
BotLogic
Offline

Junior Member

Posts: 11
Threads: 1
Joined: Oct 2006
#3
2008-01-03, 04:41 AM
sub Wrote:GB-PVR's recording service using 100MB on you system 4GB shouldnt make your system "unusable".

No, no, <100 MB is all that's left free on my system for the duration a recording is happening.
InVermont
Offline

Member

Posts: 157
Threads: 10
Joined: Mar 2007
#4
2008-01-03, 04:42 AM
I read it as the recording service takes 3.9GB of memory, leaving 100MB free for the rest of the system...
I run with 512MB of RAM on my PVR system, and never see it drop like that. If GB-PVR leaked memory at such a rate, I would find it unusable.
BotLogic
Offline

Junior Member

Posts: 11
Threads: 1
Joined: Oct 2006
#5
2008-01-03, 04:48 AM
InVermont Wrote:I read it as the recording service takes 3.9GB of memory, leaving 100MB free for the rest of the system...
There is a small error in this interpretation still. I claim that the recording service takes up about 2.9 GB (not 3.9), the rest of the system takes up about 1 GB, and about 100 MB is left free.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,823
Threads: 769
Joined: Nov 2003
#6
2008-01-03, 04:51 AM
Ah sorry, skim reading and misinterpretted.

As I suggested above, run perfmon (which comes with windows), and graph the 'working set' and 'virtual bytes' of GBVPRRecordingService.exe. Start graphing before the recording starts and leave it for a run until the recording service is running this large amount of memory, then post a screenshot of the graph for me to look at.

I've seen no other reports of this, so its probably something specific to the drivers on your machine or something similiar.
Sam
Offline

Member

Posts: 94
Threads: 12
Joined: Dec 2007
#7
2008-01-04, 11:39 AM
I experienced a similar issue as this, but with page file, which I believe is related to the RAM. For me this happened while browsing and selecting skin components. The system was grounding to a halt with every move down the list. I was using Community 3 and an MCE variant. Don't know if I chose a high res theme or something. I got a quad core with 2GB of RAM but a measley ATI x1250 integrated VGA that's meant to handle Blue-Ray. Looked in WinXP task manager and my Page File (PF) had shot up to 3.5 Gb Manager and eventually I was bailed out of the skin selector. I switched over from Cyberlink Mux to MS- and things eased off. This may have been because my motherboard said to change settings in power DVD to not use hardware acceleration. I'm confused through because the thing that improved things was the mux filter switch? I'd appreciate any light on this, if it's related.
BotLogic
Offline

Junior Member

Posts: 11
Threads: 1
Joined: Oct 2006
#8
2008-01-04, 02:04 PM (This post was last modified: 2008-01-04, 02:15 PM by BotLogic.)
sub Wrote:As I suggested above, run perfmon (which comes with windows), and graph the 'working set' and 'virtual bytes' of GBVPRRecordingService.exe. Start graphing before the recording starts and leave it for a run until the recording service is running this large amount of memory, then post a screenshot of the graph for me to look at.

I logged data for a one hour recording, and also for 15 mins before and after the recording. I recorded the Virtual Bytes and Working Set for GBPVRRecordingService as you wanted, which don't look out of bounds to me. I also recorded the Processor Time for it, which seems okay too; and the overall Available MBytes for the system which drops gradually - this is the problem.

[Image: test_results.png]

As seen in the picture, note that the scales for Virtual Bytes and Working Set are their default values, but the scales for Available MBytes and % Processor Time have been altered as shown to fit in the graph. I think the Available MBytes would've gone even lower had the recording continued for longer than an hour.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,823
Threads: 769
Joined: Nov 2003
#9
2008-01-04, 04:18 PM
Sorry, I dont know. I'm not able to reproduce it here.
BotLogic
Offline

Junior Member

Posts: 11
Threads: 1
Joined: Oct 2006
#10
2008-01-04, 04:29 PM
sub Wrote:Sorry, I dont know. I'm not able to reproduce it here.
I suppose it may be OS or card specific. Is there any workaround, such as a way I can limit the max memory used by the recording service or by Dot Net? Again, this particular option may not help even if it exists because a leak by definition probably makes a max limit irrelevant.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (4): 1 2 3 4 Next »


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