FAQ  •  Register  •  Login

Memory Leak

<<

verdejt

Streaming enthusiast

Posts: 34

Joined: Sun Oct 20, 2013 6:41 pm

Post Sun Sep 21, 2014 1:15 pm

Memory Leak

I'm running serviio on a Mac Mini with 2Gb of ram installed and transcoding turned off running snow leopard. I have encountered a problem where my video playback seems to freeze and stutter. I have setup activity monitor to watch ram usage. while serviio is running I can watch the Inactive memory increase and the free memory decrease quickly. While playing a movie for about 10 minutes I have seen the free memory drop from 1.17 Gb free to about 700mb and continue to drop by about 2mb per sec. Any ideas on how to stop this. I am running serviio 1.3.1.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Sep 22, 2014 12:10 pm

Re: Memory Leak

are you sure it's Serviio? It should not really keep anything in memory with regards to actually streaming a file.
<<

verdejt

Streaming enthusiast

Posts: 34

Joined: Sun Oct 20, 2013 6:41 pm

Post Fri Sep 26, 2014 3:18 am

Re: Memory Leak

Yes I'm sure. I was watching all the processes and when I was streaming a movie my free ram dropped about 1mb per second. Once I stopped the playback it held steady. Serviio has been sitting idle (running normal but not doing any streaming) and my free ram has held steady at about 1.2 Gb. When my free ram drops to about 250mb my playback stops and I have to wait for it to catch up, then it only plays for a little bit before stopping again.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat Sep 27, 2014 4:01 pm

Re: Memory Leak

Are you using MediaBrowser or DLNA? And transcoded video or native playback?
<<

buutti

Serviio newbie

Posts: 3

Joined: Thu Oct 02, 2014 9:07 am

Post Thu Oct 02, 2014 9:10 am

Re: Memory Leak

I can confirm this. I'm running Serviio 1.4.1 on Windows 7 64-bit. During the day it has hogged all memory and the computer is unusable. I have eliminated other possibilities, and I'm sure the problem lies in Serviio.
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Thu Oct 02, 2014 2:02 pm

Re: Memory Leak

You need to provide more info. I run on a 2 gig system with Serviio and thousands (yes thousands) of online feeds refreshing continually and have no resource problems. Attached is my memory map.
Attachments
mem.png
mem.png (81.89 KiB) Viewed 10049 times
<<

buutti

Serviio newbie

Posts: 3

Joined: Thu Oct 02, 2014 9:07 am

Post Fri Oct 03, 2014 8:31 am

Re: Memory Leak

You do know that if a software has a memory leak, it might not show up in the task manager / resource monitor? What kind of info can i provide?
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Fri Oct 03, 2014 4:16 pm

Re: Memory Leak

I'm actually on a 4 gig system, and my free memory drops to 0 as well, but I think the important number is "available memory".
How much memory do you have and what is it being used for and what is available.ie: post your memory map. If nothing is available then the system must wait for "modified" to be paged out to disk before it can load the next page required by playback.
Solution is to terminate other processes or get more memory.
<<

buutti

Serviio newbie

Posts: 3

Joined: Thu Oct 02, 2014 9:07 am

Post Sun Oct 05, 2014 1:01 pm

Re: Memory Leak

I have 4 gigs RAM. I'll try to get the memory map next time this happens.
<<

verdejt

Streaming enthusiast

Posts: 34

Joined: Sun Oct 20, 2013 6:41 pm

Post Sun Oct 26, 2014 2:22 pm

Re: Memory Leak

I am streaming from a networked drive in xvid format. I am using memory clean to display free ram. With serviio not doing anything other than just running as soon as I start streaming a movie my free ram seems to drop by about 500k per second. There are no other programs running as this is the only app running as this is the only thing I use the mac mini for . I have since loaded xbmc and stream lots of the same movies that I streamed in serviio and my free ram stays constant about 1.1gb.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Oct 26, 2014 6:55 pm

Re: Memory Leak

Could it be the same as this? viewtopic.php?f=5&t=17687#p94935
<<

verdejt

Streaming enthusiast

Posts: 34

Joined: Sun Oct 20, 2013 6:41 pm

Post Tue Nov 11, 2014 11:10 am

Re: Memory Leak

No because I have Activity monitor running and the only thing using ram is Serviio and you can literally watch it dwindle. Once you are done playing a movie is doesn't free it up either. I have been running xvmc for about a month now with no memory problems at all. Free RAM stays at about a gig or so.

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 35 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.