Page 1 of 1

XBMC Idea for FIXING high Memory usage.

Posted: Thu Feb 27, 2014 4:28 am
by Austin78989
So, Ive been spending some time in college in the tech area. After my A+ class I have a suggestion to help with memory restrictions.

It may be a long shot, maybe not. My idea is that if the DEVS could somehow create a
PAGED MEMORY FILE'
or a SWAP FILE if you are a Linux person, it could dramatically increase performance.

In case anyone needs some sort of explanation as to why those would be great for XBMC
The XBOX runs on 64 MB of system memory.
The paging file, or swap file will create VIRTUAL RAM so to speak, on the hard drive "essentially using a small chuck of the hard drive as RAM for the system to use".

I'm thinking "even though virtual memory is slower than system memory", having that extra leeway in there for better bigger scripts, or cooler looking interfaces without being limited to 64 MB would be great in the long run. And would probably keep lockups from happening very often due to minor memory leaks, or large chunks of data.

I notice the Xbox warns me as ram gets low, and when its at 0MB it freezes "atleast on my box it does"

If you can't make the hardware better, change it up, logically :ugeek:

"and if the system already has a paging file then I'm sorry for wasting your time."

P.S. I notice my XBOX freezes when I click allow control over unpnp on XBMC 3.5 BETA 2

Re: XBMC Idea for FIXING high Memory usage.

Posted: Thu Feb 27, 2014 4:30 am
by Austin78989
I just realized there was another post on this already D:

Re: XBMC Idea for FIXING high Memory usage.

Posted: Thu Feb 27, 2014 5:16 am
by Xphazer
XBMC4Xbox is not running on top of a complete OS.
It's not running Windows nor Linux. Its running a crippled /modified Windows 2000 kernel without any documentation.
I'm not saying it wouldn't be possible.. But its far too much work for it to be possible with the one man dev team we have now.
As always, patches are welcome. :wink:
If you want more RAM, do a 128MB RAM upgrade. All my Xbox have it.

"The way that we work is, you can talk all day about a great idea or a solution for a problem or something that you think is an interesting feature for Linux to have.
But you got to show us, show me something concrete, show me a piece of code that does that. Something that is tangible that I can test my self so I can try it out and I can think of what it is instead of talking abstractly about a topic all day"
-David S. Miller http://youtu.be/IvlL0JpiqqQ?t=23m32s

We would need a debug log to be able to help you about UPNP. :wink:
http://www.xbmc4xbox.org.uk/forum/viewt ... p?f=6&t=65

Re: XBMC Idea for FIXING high Memory usage.

Posted: Thu Feb 27, 2014 11:56 pm
by Austin78989
Thanks for the input, Ive got a few boxes lying around. I have one that I know for sure I can do a ram upgrade on. Any good recommendations on the type of ram chip I should solder in? I know I can Google it but I want to be sure it would work if I got a chip to solder in. Btw is it best to use the soldering iron or the heat gun? I've got great soldering skills and can easily use my heat gun. :D


EDIT: NVM I just googled it apperantly you need a modchip to upgrade the ram. I used the softmod on all my boxes.

Re: XBMC Idea for FIXING high Memory usage.

Posted: Fri Feb 28, 2014 7:14 am
by dan.h
Or if your Xbox is pre-1.6, which it needs to be for ram upgrade, you can flash the tsop with a custom bios