[cod] Getting out of memory for certain maps

Markus Fischer markus at fischer.name
Tue Nov 3 04:21:29 EST 2009


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



More information about the cod mailing list