Compiling error

Compiling error

Hammer Mapping — Page [1]
Denis93
2011 Mar 7 • 20
map.err said:
hlrad: Error: Memory allocation failure
Description: The program failled to allocate a block of memory.
Howto Fix: Likely causes are (in order of likeliness) : the partition holding the swapfile is full; swapfile size is smaller than required; memory fragmentation; heap corruption


hlrad: Error: Memory allocation failure
Description: The program failled to allocate a block of memory.
Howto Fix: Likely causes are (in order of likeliness) : the partition holding the swapfile is full; swapfile size is smaller than required; memory fragmentation; heap corruption


hlrad: Error: Memory allocation failure
Description: The program failled to allocate a block of memory.
Howto Fix: Likely causes are (in order of likeliness) : the partition holding the swapfile is full; swapfile size is smaller than required; memory fragmentation; heap corruption


hlrad: Error: Memory allocation failure
Description: The program failled to allocate a block of memory.
Howto Fix: Likely causes are (in order of likeliness) : the partition holding the swapfile is full; swapfile size is smaller than required; memory fragmentation; heap corruption



I've tried on my pc , I've tried on my laptop and it gives me this error. I have a lot of space so that cannot be , I defragmented the partition , and that's all that I did. Dunno what to do :(

Help! :(
 
 
 
2011 Apr 1 at 12:34 UTC
Down Rodeo
Cap'n Moth of the Firehouse

Find the Hole II Participation Medal
2007 Oct 19 • 5486
57,583 ₧
Actually, it's more likely that you're running out of RAM. If it's not that then you're running out of address space (though that's unlikely).
 
 
 
2011 Apr 1 at 12:46 UTC
bb
2008 May 30 • 31
from http://www.slackiller.com/tommy14/errors.htm


Memory allocation failure
Description: The program failed to allocate a block of memory. Likely causes are (in order of likeliness) :

* do not compile thru WC/Hammer F9 "running" - this hogs RAM. Instead use a front end or batch file to organize your compiling;
* the partition holding the swapfile is full (clean out your hard drive, empty trash, clear out unused files, purge your temp files folders and internet browsers temp files.);
* swapfile size is smaller than required (let swapfile be dynamicly allocated, do not set it too small yourself.);
* memory fragmentation (defrag your hard drive);
* heap corruption (reboot and try again. If you have old RAM, make sure it is seated well. check for viruses!).
* on at least one occasion this was caused by a corrupt prefab.
* on at least one occasion this was solved by removing a skybox and so making the level smaller.
 
 
 
2011 Apr 1 at 12:46 UTC
bb
2008 May 30 • 31
LOL we posted at exactly the same time
 
 
 
2011 Apr 1 at 12:47 UTC
Down Rodeo
Cap'n Moth of the Firehouse

Find the Hole II Participation Medal
2007 Oct 19 • 5486
57,583 ₧
 
 
 
2011 Apr 1 at 12:47 UTC
Denis93
2011 Mar 7 • 20
I have 3gb ddr3 of ram, that cannot be.
I still have 40GB left.
I compile with the bat.

-Dunno what is swap file

I defragmented
I couldn't have viruses on both pc's ;))

-Dunno what this could be:
* on at least one occasion this was caused by a corrupt prefab.
-Dunno what this could be:
* on at least one occasion this was solved by removing a skybox and so making the level smaller.
 
 
 
2011 Apr 2 at 12:19 UTC
Killer-Duck
Homicidal Anatidae

2008 Mar 5 • 1169
633 ₧
Does the map show any errors when you do a "Check for problems" in Hammer? (Alt+P)

Is the map very big? (Maybe it's too big?)
QUACK! QUACK!
 
 
 
2011 Apr 2 at 12:39 UTC — Ed. 2011 Apr 2 at 12:39 UTC
Down Rodeo
Cap'n Moth of the Firehouse

Find the Hole II Participation Medal
2007 Oct 19 • 5486
57,583 ₧
Saying "it cannot be" without checking is the kind of... let's just say I've responded to someone's post with a possible solution, one page later it turned out that when they tried the thing I suggested it worked. Basically, try compiling and look at your memory usage. If you're on 32-bit Windows there is a maximum of 2 GB available to any one process. So check task manager while it's running.

Otherwise... sometimes bad map geometry will cause Bad Stuff (tm) to happen, so watch out for that (check for problems as mentioned by the duck).
 
 
 
2011 Apr 2 at 15:13 UTC
Page [1]