GDI+ and out of memory error

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

GDI+ and out of memory error

mogulman
I get intermittent GDI+ and out of memory errors in Recorded TV HD.  It seems to happen every 2 days.  This is with version 1.9.5.


Here is the info from Event viewer:

A generic error occurred in GDI+. at System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams) at RecordedTVHDService.Service1.GetArtwork(String imageUrl, String SaveArtworkPath) - imageUrl = http://thetvdb.com/banners/fanart/original/269592-2.jpg - SaveArtworkPathc:\Users\Public\RecordedTVHD\Images\Backdrops\269592][!MCSeries!289469073.jpg

Then there is always a second error:
Trying to create backdrop thumb error: c:\Users\Public\RecordedTVHD\Images\Backdrops\269592][!MCSeries!289469073.jpgOut of memory. at System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement) at RecordedTVHDService.Service1.ResizeBackdropForThumbnail(String imagePath).

I noticed errors in the application log when a series has been moved or deleted also...

Could not find file 'D:\Recorded TV\Law & Order- Special Victims Unit_KUSADT_2014_05_14_19_57_00.wtv'.

Are these really a problem? Maybe they could be reclassified as warnings or RecordedTVHD could have it's own log area?

From an interface perspective, any way of getting rid of the RecordedTVHD has stopped responding thing?  Then exiting out and back in?  Not a big deal, but not sure why it happens.
Reply | Threaded
Open this post in threaded view
|

Re: GDI+ and out of memory error

mogulman
I noticed I get the following pair of events too (Not at the same time as the above stuff), but I think these may be related to RecordTVHD also:

- System

  - Provider

   [ Name]  .NET Runtime
 
  - EventID 1026

   [ Qualifiers]  0
 
   Level 2
 
   Task 0
 
   Keywords 0x80000000000000
 
  - TimeCreated

   [ SystemTime]  2014-05-21T08:21:57.000000000Z
 
   EventRecordID 4228568
 
   Channel Application
 
   Computer jbeer-htpc
 
   Security
 

- EventData

   Application: ehExtHost.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.Runtime.Remoting.RemotingException Stack: Server stack trace: at System.Runtime.Remoting.Channels.Ipc.IpcServerHandler.ReadToEndOfHeaders(BaseTransportHeaders headers) at System.Runtime.Remoting.Channels.Ipc.IpcClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream) at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg) at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Messaging.IMessage) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(System.Runtime.Remoting.Proxies.MessageData ByRef, Int32) at Microsoft.MediaCenter.AddIn.AddInHost.get_ApplicationInfo() at Microsoft.MediaCenter.Hosting.ApplicationContext.get_IsCurrentlyVisible() at RecordedTVHD.Application.RefreshContent(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.TimerQueueTimer.CallCallback() at System.Threading.TimerQueueTimer.Fire() at System.Threading.TimerQueue.FireNextTimers()  


and this one:
- System

  - Provider

   [ Name]  Application Error
 
  - EventID 1000

   [ Qualifiers]  0
 
   Level 2
 
   Task 100
 
   Keywords 0x80000000000000
 
  - TimeCreated

   [ SystemTime]  2014-05-21T08:21:57.000000000Z
 
   EventRecordID 4228569
 
   Channel Application
 
   Computer jbeer-htpc
 
   Security
 

- EventData

   ehExtHost.exe
   6.3.9600.16384
   52156e5f
   KERNELBASE.dll
   6.3.9600.17055
   532954fb
   e0434352
   0000000000005bf8
   1a34
   01cf749bfa367f85
   C:\WINDOWS\eHome\ehExtHost.exe
   C:\WINDOWS\system32\KERNELBASE.dll
   f8e22dd6-e0c0-11e3-bee5-c86000c93c6e