It is currently 30 Mar 2017, 09:52



Memory leak playing transport stream

CasparCG Server, Client and development

Moderators: Macey, Jonas Hummelstrand, didikunz

Memory leak playing transport stream

Postby mrkai » 20 Feb 2017, 11:04

Hi everyone,

What I have noticed is that when I play a transport stream in CasparCG that the working memory is rising and after a while this will result in a memory problem. For an example let's say you have 8GB memory and your normal usage is 2.5. When I start playing the stream in the consumer the memory rises immediately, after a couple hours the memory will be out of memory and crashes your system.

It looks like the consumer is keeping the old data from the transport stream so you can do the time shifting, how to disable this and let the system play it without caching?

For me this is a serious problem as I really need it this way, I know a work around but that's not the solution I would like to use. Hope you guys can tell me how to fix this.

Thank you!
mrkai
 
Posts: 2
Joined: 02 Feb 2017, 14:18
Location: Rotterdam, The Netherlands

Re: Memory leak playing transport stream

Postby balte » 20 Feb 2017, 20:51

What version of CasparCG are you using?

this seems like a serious bug, you should definitely file a bug report for this issue on the CasparCG github page!
CasparCG enthusiast and broadcast geek - Sometimes, I do get payed for this stuff.
User avatar
balte
 
Posts: 243
Joined: 24 Jan 2015, 16:23
Location: The Netherlands, Goeree Overflakkee

Re: Memory leak playing transport stream

Postby mrkai » 21 Feb 2017, 05:34

I have tested this on the stable and latest version.

Even I thought it would be a problem on windows but on linux it's even worse then that, there the streams play just for a moment and stops after couple of minutes.
mrkai
 
Posts: 2
Joined: 02 Feb 2017, 14:18
Location: Rotterdam, The Netherlands


Return to Tech and Development

Who is online

Users browsing this forum: Bing [Bot] and 4 guests