Jump to content

Suddenly getting OOM when refreshing EPG Data


Recommended Posts

Posted

Hello,

since yesterday I have the following problem:
everytime I refresh the guide data I get the following error and the refresh goes to completed after 1 minute:
 

2025-03-14 10:55:41.041 Error LiveTvManager: Error refreshing channels for service
        *** Error Report ***
        Version: 4.8.10.0
        Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
        Operating system: Linux version 6.6.44-production+truenas (root@tnsbuilds01.tn.ixsystems.net) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1
        Framework: .NET 6.0.31
        OS/Process: x64/x64
        Runtime: system/System.Private.CoreLib.dll
        Processor count: 2
        Data path: /config
        Application path: /system
        System.OutOfMemoryException: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
           at System.Collections.Generic.List`1.ToArray()
           at Emby.Server.Implementations.Data.SqliteItemRepository.QueryItemsInTransaction[T](InternalItemsQuery query, IDatabaseConnection db, String[] columnsToSelect, Boolean filterColumns, String[] groupBy, Func`5 rowReaderFn, String methodName)
           at Emby.Server.Implementations.Data.SqliteItemRepository.QueryItemsInTransaction[T](InternalItemsQuery query, IDatabaseConnection db, String[] columnsToSelect, Boolean filterColumns, Func`5 rowReaderFn, String methodName)
           at Emby.Server.Implementations.Data.SqliteItemRepository.GetItemList(InternalItemsQuery query)
           at Emby.Server.Implementations.Library.LibraryManager.GetItemList(InternalItemsQuery query)
           at Emby.LiveTV.LiveTvManager.RefreshEmbyChannelsInternal(IProgress`1 progress, CancellationToken cancellationToken)
           at Emby.LiveTV.LiveTvManager.RefreshChannels(IProgress`1 progress, CancellationToken cancellationToken)
        Source: System.Private.CoreLib
        TargetSite: T[] ToArray()

2025-03-14 10:55:41.043 Info LiveTV: Loading live tv data from /config/data/livetv/seriestimers
2025-03-14 10:55:41.045 Info TaskManager: Refresh Guide Completed after 1 minute(s) and 3 seconds

 

Just before that the server does find the epg channel in my xml file:
2025-03-14 10:55:19.635 Info LiveTV: Found epg channel in XmlTV

Also I get this OOM Error when going to the channels tab in my liveTV configuration.

Another thing is that all my tv channels are suddenly duplicated and I don't now why. I have only one M3U source.

 

I already have increased the memory to 6GB and normally 4GB was always enough for my needs.

 

I hope you can help me!

embyserver.txt

Posted (edited)

I think I resolved the error...
It seems like I had 3 times the channels and Data in my TV config, because of multiple tests. After deleting the M3U and deleting all tv data and guide data it seems to be working again.

Edited by lenman99
  • Thanks 1
Posted

Hi, thanks for following up.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...