[cod] Getting out of memory for certain maps

B.M. Schiltmans b.m.schiltmans at planet.nl
Mon Nov 2 16:51:42 EST 2009


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
>
>   


More information about the cod mailing list