compiling problem -light stage -1 reply

Please wait...

Drahcir

Mapper Guy :D

50 XP

26th November 2005

0 Uploads

40 Posts

0 Threads

#1 12 years ago

I've been having a problem recently with compiling. The problem is that when Q3map2 gets to the light stage, it gets stuck at "setup trace nodes" in the light stage. It has the following error message: safe_malloc failed on allocation of 204996608 bytes. Is there any way I can get around this problem? My map is quite large on the outside which is exposed to the skybox which emitts light. Is there a way I can compile in pieces or with another compiler? I am using gtkradian 1.4.0. I've been compiling using "Q3Map2 (test)BSP -meta, -vis, -light -fast -filter," but what am I going to do when my map is finished, and I want better quality lighting...then I'll really be in trouble!:rolleyes:




iswer

Mapper, Modeller, Musician

50 XP

18th April 2004

0 Uploads

1,601 Posts

0 Threads

#2 12 years ago

This error basically means that you’re computer has run out of memory. This could happen at any time during the compile process, but it mainly happens during the vis or lighting stages.

Try restarting you’re computer before you compile the map to free up memory. Don’t have any programs / applications running in the background, that you don’t need. Install more physical memory. Make some of you’re brushes detail.




Szico VII

We want FF7-2/remake!

50 XP

14th September 2003

0 Uploads

1,683 Posts

0 Threads

#3 12 years ago

or compile with the -lomem switch. be warned though, this increases compile times astronomically!




Drahcir

Mapper Guy :D

50 XP

26th November 2005

0 Uploads

40 Posts

0 Threads

#4 12 years ago

Ok, I just downloaded Q3map2toolz today, and I installed it and everything. I selected my map on the left side of the window, and then clicked on the light tab on the upper-right, then I put a check in -lomem, and hit "run light." Is this right? as i said Ive never used Q3map2toolz before so I'm not really sure if I'm doing everything right, but It's been compiling now for about 5.5 hours when usually it only takes about 2 hours to do vis, meta, and light all together. should it be taking this long? is there a faster way? I read something about using "batch" files. Would that be better? and what the heck is that?:uhm: