Out of Memory

If you need any help with XBMC4XBOX, such as installing or using the software, please post it in here.
Post Reply
Jurgyman
Posts: 3
Joined: Wed Feb 04, 2015 5:40 pm

Out of Memory

Post by Jurgyman »

starting video add-ons I keep running out of memory and freezing up.

this is a plain jane xbox that was softmodded.
how to free up ram?
Or do addons require physically more ram?

Used Junk's XBMC4 Xbox installer.
fxmech
Posts: 673
Joined: Wed Aug 01, 2012 9:15 am
Has thanked: 37 times
Been thanked: 46 times

Re: Out of Memory

Post by fxmech »

try disabling unneeded features, turning down to 480p, and running a more lightweight skin. down sample large images and artwork or disable metadata within plugins.

or get a ram upgrade. :)

edit to list things
disable rss feed, library features, upnp, ftp, set a static fan speed, turn off http server, wait for ram to free up before rapidly advancing menus, use only minimal skin features by disabling respective to your skin choice....
NOTTHESAME
Posts: 532
Joined: Thu Aug 02, 2012 7:46 am
Has thanked: 82 times
Been thanked: 61 times

Re: Out of Memory

Post by NOTTHESAME »

heres a few light skins that will help with ram

MOSAIC http://www.xbmc4xbox.org.uk/forum/viewt ... lit=mosaic

Rapier http://www.xbmc4xbox.org.uk/forum/viewt ... lit=rapier

Confluence lite Low Menu http://www.xbmc4xbox.org.uk/forum/viewt ... =15&t=3028

Xbox Classic http://www.xbmc4xbox.org.uk/forum/viewt ... =15&t=3039

Slik http://www.xbmc4xbox.org.uk/forum/viewt ... f=15&t=174

JX 720 http://www.xbmc4xbox.org.uk/forum/viewt ... 720#p23698

XTV-LITE 1.0 http://www.xbmc4xbox.org.uk/forum/viewt ... 1.0#p16639

and PM3 which comes with xbmc4xbox latest version

you should not have any crashes while at 720p try them all out they are great skins for xbox and theses are up to date that's why I recommend them as well other skins will be out of date will give errors like missing trainer settings menu and plugin settings, so try theses and choose which you like best :)
User avatar
Dan Dar3
Posts: 1176
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 273 times
Been thanked: 257 times
Contact:

Re: Out of Memory

Post by Dan Dar3 »

Read this on how to produce a debug log - the "M:" column is free RAM.
http://www.xbmc4xbox.org.uk/forum/viewt ... p?f=6&t=65
Jurgyman
Posts: 3
Joined: Wed Feb 04, 2015 5:40 pm

Re: Out of Memory

Post by Jurgyman »

So Im running Confluence Lite Low Mod theme.
Disabled some services.
Video is at 720p.

With debugging on I played an add-on video.
While I didnt appear to hang this time ( I could hear the movie) the screen did go permemently black.
and in the debugging log below I still do see malloc errors...
Does ffmpeg need tuning?

Code: Select all

12:57:29 M:  1712128   DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_RESYNC(167000.000000, 0)
12:57:29 M:   131072  SEVERE: DLL: Q:\system\players\dvdplayer\avutil-52.dll : malloc failed, crash imminent (Out of memory requesting 698927 bytes)
12:57:29 M:    53248   ERROR: ffmpeg[FC4]: [h264] decode_slice_header error
12:57:29 M:    20480  SEVERE: DLL: Q:\system\players\dvdplayer\avutil-52.dll : malloc failed, crash imminent (Out of memory requesting 6142 bytes)
12:57:29 M:    20480   ERROR: ffmpeg[FC4]: [h264] no frame!
12:57:29 M:    20480   DEBUG: CApplication::OnPlayBackStarted - Playback has started
12:57:29 M:    20480   ERROR: CDVDVideoCodecFFmpeg::Decode - avcodec_decode_video returned failure
12:57:29 M:    20480   DEBUG: CDVDPlayerVideo - video decoder returned error


log:
http://pastebin.com/Q1wr88qx
User avatar
spicemuseum
Posts: 906
Joined: Mon Jul 09, 2012 11:08 pm
Has thanked: 94 times
Been thanked: 75 times

Re: Out of Memory

Post by spicemuseum »

Jurgyman wrote:So Im running Confluence Lite Low Mod theme.
Disabled some services.
Video is at 720p.
http://pastebin.com/Q1wr88qx
You are trying to play an H.264 (MPEG4 pt 10 / AVC) video encoded at 720p - 1280x536 to be precise. Read here: http://en.wikipedia.org/wiki/H.264/MPEG-4_AVC

This video is too computationally demanding for the XBOX - even if it didn't run out of memory decoding the highly compressed video, it would run out of MIPS trying to render it, resulting in very poor frame rate and bazillions of dropped frames. You're not the first to be tripped up by this, and you won't be the last.

If you must play 720p video (and many of us do!), then use H.263 (MPEG4 pt2 ASP) encoded video. Such video typically - but not necessarily - is contained in a .avi container (file). Read this: http://en.wikipedia.org/wiki/MPEG-4_Part_2
fxmech
Posts: 673
Joined: Wed Aug 01, 2012 9:15 am
Has thanked: 37 times
Been thanked: 46 times

Re: Out of Memory

Post by fxmech »

obviously the different encoding isn't applicable to addons so in your case, see if you can lower video quality in the plugin settings.

which plugin are you using? try another plugin if you don't get it working.

... when i was getting this sound only, black screen bug i would reinstall xbmc and the plugins to fix it. this was months ago so i can't recount if i used different plugins or versions of plugins to get them working anymore. i never narrowed it to a codec error since it seemed to happen with every plugin after it happens once. i could be wrong, but maybe it will help you
Post Reply