Python "leak" fix (mainline)

Discussion of XBMC4XBOX development.
Post Reply
User avatar
byron
Posts: 582
Joined: Wed Jul 04, 2012 9:26 pm
Location: Illinois
Has thanked: 27 times
Been thanked: 96 times

Python "leak" fix (mainline)

Post by byron »

I stumbled upon this late last night and thought it to be very interesting. It's from xbmc mainline's GitHub spot.

Discussion:https://github.com/xbmc/xbmc/pull/1889

Commits:https://github.com/xbmc/xbmc/pull/1889/commits

Diffs:https://github.com/xbmc/xbmc/pull/1889/files

I really noticed this happening since I've begun integrating content.search.py into my skin...every time I run it (same with confluence lite), I lose memory that never comes back (Here is a log, search started on line 270). I also have other scripts in my skin running for custom home screen items with the same outcome (I can post a log if needed). I was wondering if this is something that is already been integrated into our project or if it's something that is interesting enough to play around with. I tried browsing the trunk for the corresponding files in our project but couldn't seem to have any luck. I know the python version for mainline is higher, but was just wanting to share the info in case anyone with knowledge of the source code might be interested in taking a look.
User avatar
BuZz
Site Admin
Posts: 1890
Joined: Wed Jul 04, 2012 12:50 am
Location: UK
Has thanked: 65 times
Been thanked: 422 times
Contact:

Re: Python "leak" fix (mainline)

Post by BuZz »

thanks for the links - unfortunately there is a huge difference between their code and ours, so there is no chance that patch applying, nor might our leak(s) be the same issue. But open a up a ticket with debug logs showing the memory going down and down, and hopefully it will get looked at at some point :)
Post Reply