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 … 211 212 213 214 215 … 433 Next »
Out of memory error, tracking down a leak?

Out of memory error, tracking down a leak?
ttfitz
Offline

Senior Member

Posts: 285
Threads: 46
Joined: Sep 2008
#1
2014-06-25, 08:36 AM
I've been having trouble since upgrading to the latest version with getting an unhandled exception, "Out of memory" error. At that point, task manager shows NextPVR using over 1 GB of RAM.

Any hints on running this down? I read some messages from last year here with someone tracing it to a leak in an old version ffdshow, but I am running a later one. I thought it mostly happened after watching some m2ts files under Videos, but I got up to 470MB after watching two TS files as recorded by NextPVR - is that high, or about right?

Thanks.
Tim
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,661
Threads: 767
Joined: Nov 2003
#2
2014-06-26, 01:40 PM
Its normal for the memory usage to jump up quite significantly when you start playback for the first time, since this is causing the application to load in all the directshow stuff and decoders etc. How much depends on lots of things, like the decoders you're using etc.

When playback completes, the memory wouldn't typically drop down to where it started, since .NET doesn't unload the libraries (DLLs etc) that it loaded so these stay in memory. Some of that memory that was previously used is marked as freed though. Whether or not it's returned to Windows is up to .NET. Usually it wouldn't return it to Windows unless Windows was running low.

However, subsequent attempts to do playback wouldn't typically push it any higher, ie DLLs are already loaded, and 'previously marked as free' memory will be reused.

It's not unusual for the nextpvr.exe to be using in the order of 250-350MB or memory during playback, with pretty much all of this having been allocated by directshow decoders and renderers etc. 470MB is on the high side, but I wouldn't be surprised if some decoders could cause it to use this sort of memory.

I guess your best bet is experiment and find a pattern to what is happening with your memory. It could certainly be down to a specific decoder causing things to increase continually each time you do playback. Identifying and eliminating that decoder may solve it.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Mouse Click on TV Guide throws an error mlopez1007 2 1,396 2021-03-22, 11:33 AM
Last Post: Graham
  Memory Leak in v4 Chewie 2 1,331 2020-04-30, 02:48 AM
Last Post: sub
  Unhandled Exception Error Message reedaf4 23 7,123 2020-03-13, 05:03 PM
Last Post: sub
Photo Server database error mnthope 4 2,174 2019-12-23, 11:28 PM
Last Post: sub
  Framework Error Mroctober 1 1,162 2019-09-25, 03:13 PM
Last Post: Graham
  EPG error message djregehr 3 1,596 2019-08-09, 05:50 PM
Last Post: djregehr
  Error in Channel Setup Rich A 17 4,087 2019-05-24, 10:17 PM
Last Post: Rich A
  Recording Error: No errors, but no data delivered. jksmurf 4 1,795 2019-04-08, 04:24 AM
Last Post: jksmurf
  Ndigitalhost memory usage OwenBerg 8 2,359 2019-04-03, 01:00 AM
Last Post: sub
  Import Error with Updated NPVR Release Coulen 9 2,864 2019-03-08, 10:00 PM
Last Post: sub

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

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

Linear Mode
Threaded Mode