[cod] Getting out of memory for certain maps

b.m.schiltmans at planet.nl b.m.schiltmans at planet.nl
Tue Nov 3 02:39:43 EST 2009


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/cod/attachments/20091103/ea9d9361/attachment.htm>


More information about the cod mailing list