I looked hese forums but did not fould solution for my error. Apparently my mermory is running out when I try to compile my map with q3map2 2.5.15. Here is more detailed error:
0 light entities
--- SetupBrushes ---
6023 opaque brushes
--- SetupDirt ---
48 dirtmap vectors
--- SetupSurfaceLightmaps ---
10639 surfaces
9760 raw lightmaps
71 surfaces vertex lit
10568 surfaces lightmapped
10171 planar surfaces lightmapped
200 non-planar surfaces lightmapped
197 patches lightmapped
65 planar patches lightmapped
--- SetupTraceNodes ---
************ ERROR ************
safe_malloc failed on allocation of 180879360 bytes
So when q3map2 tries to take about 2 gigs of mermory my computers says no. But how come it takes so much mermory?
I am using light compile:
-light -fast -samples 2 -shade -filter -patchshadows -external -lightmapsize 256 -approx 8
My map is pretty big but I am using lightmapscale 2.0 in worldspawn. I have done just basic building placement so there is no details yeat.