[cod] Getting out of memory for certain maps
Robert Mount
rmount at gmail.com
Sun Mar 14 16:34:54 EDT 2010
Try running the server (temporarily) as root and load the map. If it
works, it's most likely a ulimit restriction.
Adjustment can be made to non-root user environments in /etc/profile &
/etc/bashrc
"ulimit -a" will show current settings, run as root and a user and
you'll see the difference. Increase the user limitation and try your
map again.
--Rob
On Sun, Mar 14, 2010 at 3:42 PM, David at Game-Serve.co.uk
<david at game-serve.co.uk> wrote:
> Was this issue ever fixed or a work around found?
> Trying to load a map for a league match and it failing with
>
> Loading fastfile mp_rescue
> Error: Need 1609588 more bytes of ram for alloc to succeed
> OUT OF MEMORY! ABORTING!!! (universal/physicalmemory.cpp:625)
> Regards
>
> David
>
>
>
> ----- Original Message -----
> From: scheuselchen at web.de
> To: Call of Duty server admin list.
> Sent: Tuesday, November 03, 2009 8:33 PM
> Subject: Re: [cod] Getting out of memory for certain maps
> The problem lies within the main ff-file of the map. This ff-file should
> stay under 50 MB, then the map runs fine.
> Most mappers in europe are aware of this issue and try to keep the maps
> small. But some don't care as Windows Server do not have this troubles.
>
> But the map apesgorod should run under linux, it was tested on it without
> any issues. That puzzles me a bit. Where did you download it?
>
> (You can send me also a direct email concerning apesgorod if you like to)
>
> lg wally
>
>
>> -----Ursprüngliche Nachricht-----
>> Von: "Markus Fischer" <markus at fischer.name>
>> Gesendet: 03.11.09 10:22:47
>> An: "Call of Duty server admin list." <cod at icculus.org>
>> Betreff: Re: [cod] Getting out of memory for certain maps
>
>
>> Hi,
>>
>> ok, thanks .. now that I call a "Wow!" effect, quite a negative one.
>>
>> Sorry for rolling up such an old topic, it must be as COD4 is available
>> for sometime and I just jumped onto the scene playing it and with my
>> server.
>>
>> So given the long time it already exists and that we're at Patch level
>> 1.7, it conclude that the developers did this deliberately and will not
>> remove/fix this?
>>
>> I'm now unsure who is the "developer" in this case, as I found this list
>> and icculus.org by searching for the Linux dedicated binary but I'm
>> unsure what the connection is between icculus.org and IW?
>>
>> I mean, doing something like this is certainly not something community
>> developers would impose onto their users ...
>>
>> thanks and .. still puzzled,
>> - Markus
>>
>> b.m.schiltmans at planet.nl wrote:
>> > Anyone correct me if I'm wrong (hope so ;-) ), but yes that's what it
>> > looks like.
>> > No misreading on your part, I'm afraid.
>> >
>> >
>> > -----Oorspronkelijk bericht-----
>> > Van: Markus Fischer [mailto:markus at fischer.name]
>> > Verzonden: ma 2-11-2009 23:43
>> > Aan: Call of Duty server admin list.
>> > Onderwerp: Re: [cod] Getting out of memory for certain maps
>> >
>> > Hi,
>> >
>> > sorry, English is not my native language and I'm surely misreading this.
>> >
>> > Did you just say that there's a *hardcoded* memory limit into the
>> > *dedicated server* binary?
>> >
>> > confused,
>> > - Markus
>> >
>> > B.M. Schiltmans wrote:
>> > > Unfortunatelly no, it's a limit that seems to be hardcoded into the
>> > > executable. Too bad it's lower than the windoze version so there's
>> > some
>> > > maps we just can't run.
>> > >
>> > > Grtz
>> > > Bram
>> > >
>> > > Markus Fischer wrote:
>> > >> Hi,
>> > >>
>> > >> Some maps won't load due out of memory problems, even though the
>> > system
>> > >> has enough. E.g. I've 1GB RAM and there's plenty of it left, still I
>> > get
>> > >> the following with certain maps:
>> > >>
>> > >> Loading fastfile mp_i2
>> > >> Error: Need 3220896 more bytes of ram for alloc to succeed
>> > >> OUT OF MEMORY! ABORTING!!! (universal/physicalmemory.cpp:625)
>> > >>
>> > >> I get this with couple other maps too, e.g. mp_apesgorod .
>> > >>
>> > >> I checked with ulimit -a and there are no special limits afaik:
>> > >>
>> > >> $ ulimit -a
>> > >> core file size (blocks, -c) 0
>> > >> data seg size (kbytes, -d) unlimited
>> > >> scheduling priority (-e) 0
>> > >> file size (blocks, -f) unlimited
>> > >> pending signals (-i) 73728
>> > >> max locked memory (kbytes, -l) 32
>> > >> max memory size (kbytes, -m) unlimited
>> > >> open files (-n) 1024
>> > >> pipe size (512 bytes, -p) 8
>> > >> POSIX message queues (bytes, -q) 819200
>> > >> real-time priority (-r) 0
>> > >> stack size (kbytes, -s) unlimited
>> > >> cpu time (seconds, -t) unlimited
>> > >> max user processes (-u) 73728
>> > >> virtual memory (kbytes, -v) unlimited
>> > >> file locks (-x) unlimited
>> > >>
>> > >>
>> > >> Is there something obvious I'm missing? Some settings/switch which
>> > tells
>> > >> the cod4 server to provide more memory for maps?
>> > >>
>> > >> thanks
>> > >> - Markus
>> > >> _______________________________________________
>> > >> cod mailing list
>> > >> cod at icculus.org
>> > >> http://icculus.org/mailman/listinfo/cod
>> > >>
>> > >>
>> > > _______________________________________________
>> > > cod mailing list
>> > > cod at icculus.org
>> > > http://icculus.org/mailman/listinfo/cod
>> > >
>> > _______________________________________________
>> > cod mailing list
>> > cod at icculus.org
>> > http://icculus.org/mailman/listinfo/cod
>> >
>> >
>> > ------------------------------------------------------------------------
>> >
>> > _______________________________________________
>> > cod mailing list
>> > cod at icculus.org
>> > http://icculus.org/mailman/listinfo/cod
>>
>> _______________________________________________
>> cod mailing list
>> cod at icculus.org
>> http://icculus.org/mailman/listinfo/cod
>>
>
>
> ______________________________________________________
> GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
> Jetzt freischalten unter http://movieflat.web.de
>
> _______________________________________________
> cod mailing list
> cod at icculus.org
> http://icculus.org/mailman/listinfo/cod
>
> _______________________________________________
> cod mailing list
> cod at icculus.org
> http://icculus.org/mailman/listinfo/cod
>
>
More information about the cod
mailing list