Buz Posted September 4, 2012 Posted September 4, 2012 ERROR:safe_malloc failed on allocation of <hugenumber> bytes I've googled the error many many times. Each time I get somewhat of a different answer. I know it's because I've ran out of memory. I also know it can be caused by too many lights. So i've deleted quite a few and still got the error. I've set all necessary brushes to detail brushes and everything but still get the error. I'm running GTK Radiant 1.5, I still have yet to try compiling it in 1.4... Any suggestions would be helpful. Right now all I can think about doing is testing it in 1.4 or deleting all of my lights and seeing what happens when I compile, lol. EDIT: I deleted all my lights and re-added new ones (tried to keep the number of lights slim) but I still get the same error.
Buz Posted September 13, 2012 Author Posted September 13, 2012 I checked through my list of shaders and as far as I know I'm not using a phong shader.
OlgO Posted September 13, 2012 Posted September 13, 2012 You can also try these things:- make sure that all the surfaces that player won't see in game are covered with Caulk texture (textures/system/caulk);- you can try to increase _lightmapscale (select worldspawn enter key _lightmapscaleand value higher than 1 (1 is default), but it can reduce shadow quality;- you can try to increase _gridsize (select worldspawn, enter key _gridsize and value, for example 128 128 256, default is 64 64 128);- you can try to turn off programs which runs in background for the time while you're compiling your map to free more memory (for example antivirus, internet browser. Do it only if you know what you are doing);- you can try to compile light stage without -fast and with -lowmem (if I remember it right). Though I tried to do it a few times and it gave me some strange shadows...Well the Caulk texture always helped me in such cases... If you tried it all and it didn't help, then you can try to change your level's design and make it smaller or less detailed.
eezstreet Posted September 13, 2012 Posted September 13, 2012 Sounds like you don't have enough memory for whatever you're doing, basically.
CaptainChar Posted September 13, 2012 Posted September 13, 2012 my bayonetta prologue map will cause the compiler to crash, I do not know why as of yet, but it is shader related on that map as well, ive yet to get around to debugging that. some maps wil conflict i noticed with radient
Delta_135 Posted September 13, 2012 Posted September 13, 2012 what are your specs?how much memory do you have?are you using the compile menu in gtkradiant or a utility like Q3map2GUI?
CaptainChar Posted September 14, 2012 Posted September 14, 2012 yes, system ram and cpu speed is all we really need to know though a single core PC, with about 1 gig of ram should handle GTK pretty well, mind you all my machines since pent 4 era have ran mostly with 4 gigs of ram, so I cant say for certain
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now