﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	mlocked
9707	Memory leak during playback of recent recordings (PVR-250)	aaron <memoryguy@…>	markk	"Recordings made in the last month or so seem to make mythfrontend leak memory during playback. Typically I use timestretch 1.3x or higher, up to 2x, not sure if it is relevant. About halfway through a one hour program I have to restart the frontend to release the memory; playback gets stuttery due to excessive paging.

All of my recordings are standard-def MPEG2, produced from a PVR-250. But only the more recent recordings show this problem.

My backend/frontend has 512 MB of RAM (+2 GB paging space). When the frontend needs to be restarted, htop reports the ""VIRT"" at 800+ MB.

After starting the frontend VIRT is 337 MB.

I am running master built from git. The current version I am running (and do see the problem) is:


I have tried to run valgrind:


{{{
valgrind --log-file=vglog.log --leak-check=full --error-limit=no --show-reachable=yes mythfrontend -O UIPainter=qt
}}}
 

When I started playback it complained about not being able to allocate/resize ALSA buffers, and it looked like it was not using the proper playback timing methods. Perhaps this is because I was using an SSH session (although displaying on the local display, not remote). Hopefully the log managed to capture something meaningful.

Playback stuttered horribly with valgrind running, so I left it going as long as I could stand.

Attached are the frontend output and valgrind log.

Please let me know if there is something else that would be helpful."	Bug Report - General	closed	trivial	unknown	MythTV - Video Playback	Master Head	medium	Need more Info			0
