safe_malloc failed!


(Malverik) #1

got this error when I compile:

--- SetupSurfaceLightmaps ---
    30129 surfaces
    27722 raw lightmaps
      205 surfaces vertex lit
    29924 surfaces lightmapped
    29319 planar surfaces lightmapped
      449 non-planar surfaces lightmapped
      156 patches lightmapped
       88 planar patches lightmapped
--- SetupTraceNodes ---
************ ERROR ************
safe_malloc failed on allocation of 328728576 bytes

i can’t imagine why radiant would want to allocate over 300mb for a 7mb map, anyone else had this before?


(nUllSkillZ) #2

There’s a switch:
“-lomem”


(Uchronic) #3

and whereand and how should we add it ?


(thegnat) #4

In the light-stage of your compile.

For more info: that -lomem flag and safe_malloc failed