{"action":"created","issue":{"url":"https://api.github.com/repos/carlonluca/pi/issues/13","labels_url":"https://api.github.com/repos/carlonluca/pi/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/carlonluca/pi/issues/13/comments","events_url":"https://api.github.com/repos/carlonluca/pi/issues/13/events","html_url":"https://github.com/carlonluca/pi/issues/13","id":58538047,"number":13,"title":"Memory leaks","user":{"login":"desert","id":723830,"avatar_url":"https://avatars.githubusercontent.com/u/723830?v=3","gravatar_id":"","url":"https://api.github.com/users/desert","html_url":"https://github.com/desert","followers_url":"https://api.github.com/users/desert/followers","following_url":"https://api.github.com/users/desert/following{/other_user}","gists_url":"https://api.github.com/users/desert/gists{/gist_id}","starred_url":"https://api.github.com/users/desert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/desert/subscriptions","organizations_url":"https://api.github.com/users/desert/orgs","repos_url":"https://api.github.com/users/desert/repos","events_url":"https://api.github.com/users/desert/events{/privacy}","received_events_url":"https://api.github.com/users/desert/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":47,"created_at":"2015-02-23T03:15:13Z","updated_at":"2015-03-26T20:36:59Z","closed_at":null,"body":"Leaving the player switching between several videos, like a playlist it seems to leak about 3~5 MB on each loop, and depending on the video. Im using the Big Buck Bunny and others to test."},"comment":{"url":"https://api.github.com/repos/carlonluca/pi/issues/comments/86705532","html_url":"https://github.com/carlonluca/pi/issues/13#issuecomment-86705532","issue_url":"https://api.github.com/repos/carlonluca/pi/issues/13","id":86705532,"user":{"login":"Nightmare204","id":4441252,"avatar_url":"https://avatars.githubusercontent.com/u/4441252?v=3","gravatar_id":"","url":"https://api.github.com/users/Nightmare204","html_url":"https://github.com/Nightmare204","followers_url":"https://api.github.com/users/Nightmare204/followers","following_url":"https://api.github.com/users/Nightmare204/following{/other_user}","gists_url":"https://api.github.com/users/Nightmare204/gists{/gist_id}","starred_url":"https://api.github.com/users/Nightmare204/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nightmare204/subscriptions","organizations_url":"https://api.github.com/users/Nightmare204/orgs","repos_url":"https://api.github.com/users/Nightmare204/repos","events_url":"https://api.github.com/users/Nightmare204/events{/privacy}","received_events_url":"https://api.github.com/users/Nightmare204/received_events","type":"User","site_admin":false},"created_at":"2015-03-26T20:36:58Z","updated_at":"2015-03-26T20:36:58Z","body":"I checked the memory usage through top command as @desert suggested and didn't noticed relevant memory increase due to a possible memory leak... In the Raspberry Pi B+ the memory usage was 30% and in the Raspberry Pi 2 the memory usage was 9%...\r\nHowever I'm using a program where I create two video surface (video output + mediaplayer) but I was using just one, so the memory usage of my program is supposed to be higher that when just one mediaplayer is instantiated...\r\nThe program is a slight variation of the one I shared before and I'm using all kind of videos: \"Big Buck Bunny\" from the official site, a short version of the same video cut with ffmpeg, some videos downloaded from youtube using www.clipconverter.cc, some videos from a professional camera edited with Encoder (on a Mac) that a partner provided me, etc... Some of these videos have different video format and resolution...\r\nToday the loop count was in about 6000 when I stopped it... and the memory usage was the same.\r\n\r\nThe index of the EGL image always increase... but that didn't make any difference to me.\r\n\r\n@desert the messages you get with the VERBOSE label are just part of the code of the PiOmxTextures because I compiled with that level of debug messages... A \"Final\" version should be compiled in WARNING or ERROR level...\r\n\r\n@carlonluca I think No_Tearing branch can be merged! ;) :+1:"}}