Posts: 157
Joined: May 2009
Reputation:
1
philhu
Senior Member
Posts: 157
I reported this before as some kind of memory leak.
I am still seeing, with 12.1, some kind of memory leak.
Things that work right after reboot, like opening a 90 movie list (showcase mode) as i scroll left or right works.
2 days later, try this, and within 2 pages, the system freezes. SSH still works, and everything is still running, but XBMC is dead, requiring an xbmc reboot
Is there still a stability problem on raspbmc?
Posts: 8,988
Joined: Feb 2011
Reputation:
428
I would expect a memory leak to result in xbmc being killed (with an OOM message in dmesg log).
I think raspbmc will then relaunch xbmc.
From ssh, what happens if you "sudo killall xbmc.bin". Does it relaunch happily?
256M or 512M Pi? What's the gpu_mem split? Have you enabled the 1080p GUI? Any changed advancedsettings?
What skin and what view do you have in library mode?
I'm currently using rbej's Gotham openelec build which is very stable.
Posts: 157
Joined: May 2009
Reputation:
1
philhu
Senior Member
Posts: 157
2013-05-03, 16:36
(This post was last modified: 2013-05-03, 16:37 by philhu.)
If I do a kill -9 (killall doesnt seem to be installed), it does restart
The specs are Model b, 512m, 128m for video, 720P, not 1080p
AEON NOX, No advancedsettings, library mode is showcase (I think)
I also added a swapfile along the way, leaving an ssh session open, entering command 'free'. Sure enough over time, memory goes down, after 1.5-2 days, the swap starts filling up.
kill -9 kills xbmc, it does restart and the memory seems to clear out over time.
I HAVE seen the oom message in dmesg. Something about needing to kill a child process or the process xbmc.bin due to memory constraints. So, I have seen it. I think though, I see the crash with OOM while using it before the system crash actually happens on its own
Posts: 19,982
Joined: May 2009
Reputation:
452
nickr
Retired Team-Kodi Member
Posts: 19,982
You perhaps misunderstand linux memory management.
Posts: 19,982
Joined: May 2009
Reputation:
452
nickr
Retired Team-Kodi Member
Posts: 19,982
That is interesting. The only real way to find memory leaks though is to use valgrind.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)