The online racing simulator
Not enough RAM to run S2 dedi host on Linux through Wine
Hi, I want to run S2 0.5Q dedicated host application on server about 300MHZ, 128MB Ram and Debian Linux... but the problem is, when I will try to launch S2 dedi host app, it wont run with with error report : Out of memory

when I run 0.5Q dedicated host application on my computer with Windows, it will take about 1-10MB ram... so I think that Wine emulation can take big piece of memory...

my question is - can I run dedicated host on Debian linux, 128MB ram through Wine, or is there som Linux version of S2 dedicated host ?

thank you for solutions
#2 - ORION
There is no linux version of the dedi, so you must use some emulator.
Maybe someone else can help here, Im a linux noob
Just wait for Tux replying here
Theres a few solutions:
1. Put more RAM in the box
2. Force linux to use more swap, or increase the swap size
3. Do 1 and 2.
4. Kill some other processes using memory.

In terms of cutting down un-needed stuff, consider stripping everything out you dont need - I'm presuming you're already running a base install (i.e. without X, Gnome/KDE, etc.). CUPS usually installed by default, its you're not using that kill it (`update-rc.d -f <daemon-name> remove` - note: you need root privs to do this). Consider checking other things currently running `ps aux` should show everything. Dont forget to stop / kill the processes once you've disabled / removed them.

If you still have problems, what size swap partition did you use? Check the usage using `free -m`. If its still not got enough space, then your only real solution is to put some more RAM into the box, if possible.
thx 4 answers - the server is remote, far from me about 500km and I have remote acces to it through PuTTy...
-
(MonkOnHotTinRoof) DELETED by MonkOnHotTinRoof
Dont forget that the kernel doesnt free memory immediately, unless it knows for 100% certain that any cached data isnt going to be used again - i.e. it would clear the cached disk information if a hdd was unmounted.

FTP servers, X forwarding over SSH, amongst other things all eat a lot of memory, as could lots of cron jobs running. Theres lots of things to consider. If you're running Apache, or any other webserver, and perhaps a database then consider trimming the amount of memory it can eat and processes it can fork / threads its allowed to use.

I'd seriously have a go and clearing the system from all unused stuff - check out debfoster, and remove all services / daemons / tools which you dont critically need, then giving it a quick reboot.
Quote from ORION :Just wait for Tux replying here

I've given up on running it in linux
Quote from dUmAsS :I've given up on running it in linux

Traitor! Doubly so, since you're called Tux
thx 4 advices... but I have not acces to change the swap size
Quote from the_angry_angel :Traitor! Doubly so, since you're called Tux

go Windows 2003!
-
(MonkOnHotTinRoof) DELETED by MonkOnHotTinRoof
Quote from dUmAsS :go Windows 2003!

I think hes refering to the fact that I'm primarily a Windows monkey at work Although I do have fun with linux interoperability at times
it might be worth giving this little distro a try... http://www.goosee.com/puppy/ it's called puppy linux, and it's pretty cute, at around 60Mb it's diddy, and spot on for older boxes like my little 200Mhz with 80Mb of RAM .

just about copes with an S2 dedi_host but it should be ok for around 5-6 players on a big track

you'll havwe to compile wine you're self tho' although packages are available both are simple if you read what you're doing.

FGED GREDG RDFGDR GSFDG