NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 356 357 358 359 360 … 433 Next »
Memory leak when updating recordings on all channels

Memory leak when updating recordings on all channels
smiffypr
Offline

Member

Dorset, England (Rowridge TX)
Posts: 238
Threads: 36
Joined: Feb 2009
#41
2011-07-08, 06:31 AM
Prior to pressing enter, memory size settles at 107,756KB,
After pressing enter on a recurring, all channel recording, memory is 124,720KB

If I press "update" memory is 137,992KB
After I press "Cancel", after a few seconds,memory drops to 124,386KB
Repeat and its 140,684KB, repeat again, 146,964KB.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,740
Threads: 767
Joined: Nov 2003
#42
2011-07-08, 11:43 PM
I've added some more logging. Can you try again with this patch, then post the logs again?
smiffypr
Offline

Member

Dorset, England (Rowridge TX)
Posts: 238
Threads: 36
Joined: Feb 2009
#43
2011-07-08, 11:55 PM
This is with an OK not a cancel. Memory use ends up at 148.668.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,740
Threads: 767
Joined: Nov 2003
#44
2011-07-09, 12:06 AM
Can you see if this fixes it?
smiffypr
Offline

Member

Dorset, England (Rowridge TX)
Posts: 238
Threads: 36
Joined: Feb 2009
#45
2011-07-09, 12:16 AM
Same actions as last time, but this time the memory ends up at 116,124KB.
Repeating, 113,440KB.
And again, 115,172KB
I would call that fixed!
smiffypr
Offline

Member

Dorset, England (Rowridge TX)
Posts: 238
Threads: 36
Joined: Feb 2009
#46
2011-07-09, 12:28 AM
sub Wrote:This is normal. It does reprocess all recurring when recordings when you update a recurring recording, since it can have conflicts with any of the other recurring recordings.

Now that you have fixed the memory leak, can I ask about the "logic" of the above without sounding like a whinger?

Surely the recurring recording which is being updated need to be checked against all pending recordings, not against all recurring recordings, many of which don't relate to any pending recordings currently, and the update of the one recurring recording won't cause any of the other recurring recordings to generate a new pending recording?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,740
Threads: 767
Joined: Nov 2003
#47
2011-07-09, 12:30 AM
smiffypr Wrote:Same actions as last time, but this time the memory ends up at 116,124KB.
Repeating, 113,440KB.
And again, 115,172KB
I would call that fixed!
Great.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,740
Threads: 767
Joined: Nov 2003
#48
2011-07-09, 12:32 AM
smiffypr Wrote:Surely the recurring recording which is being updated need to be checked against all pending recordings, not against all recurring recordings
It is checking against the pending recordings, rather than the recurring recordings, but as part of this it deletes all pending recordings then recreates them. Some recurring recordings will result in no pending recordings based on the current guide, but others will and some of those may conflict with the changes that have just been made.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (5): « Previous 1 2 3 4 5


Possibly Related Threads…
Thread Author Replies Views Last Post
  decoder issue? some channels don't play Donsch 10 5,269 2023-12-04, 10:19 PM
Last Post: turkeypets
  Failed recordings won't delete Spid4567 3 2,501 2023-07-14, 10:13 PM
Last Post: ZeDoZ
  All my recordings start 90 sec early ncsercs 2 1,372 2022-03-19, 03:28 AM
Last Post: sub
  double channels MaxOne72 2 1,322 2021-08-15, 05:22 AM
Last Post: MaxOne72
  Can't watch certain channels on live tv (but can record) tvwatcher 4 2,154 2021-05-05, 06:23 AM
Last Post: tvwatcher
  Wake - Sleep Interaction -> Failed Recordings mikeh49 48 14,773 2021-03-21, 11:21 PM
Last Post: careads
  Most recordings are zero bytes virtualpaul 4 2,066 2021-01-29, 12:55 PM
Last Post: virtualpaul
  Recordings with Next PVR 4.2.5 (CL0116) have background music but no voice in record DavidF 4 2,108 2021-01-07, 08:47 AM
Last Post: sub
  Recordings not playing in browser FamilyGuyFan 1 1,441 2020-10-22, 10:18 PM
Last Post: mvallevand
  Recordings 1 minute off BobbyDing 7 2,831 2020-10-11, 08:07 PM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode