Error, starting the map I'm making.
First I had: "AllocBlokc:Full", but I read somewhere that I change Video mode to Software it may work, then when I started the map I got error:"Cache_Tryalloc: 2331984 is grater then free hunk"
Anybody knows how to fix it?
EDIT: I fixed LEAKs and the number changed, now it's - "Cache_Tryalloc: 547792 is grater then free hunk"
that is memory error. this means your map is too big and resourceful in general or just has some issues that cause memory leak (which is more likely).
There are A LOT of different things that may cause it, most common are a lot of uneven or too small texture scales and transparency overusage (additive etc.) or just some other irrational and bugged stuff. For more ask google
check all ur textures in ur map and scale the X / Y up to 1.00
If you couldnt fix , try to select all map and use texture tool to aply 1:1 scale. [save with another name]
And try to compile.
Probably will work and now you have 2 ways:
-Search the problem on the first map.
or
-Remake the texture scales on the "1:1" file.
Hi,
In most cases this error is caused by the entity data. This is what the Valve Developer Wiki says about entity data:
The combined size (in bytes) of a map's entity data should also be considered, even if the number of entities is within safe limits. Large amounts of entdata can take a noticeably long time to transmit from server to client, and Confirm: may lead to crashes.
The crashes are in this case caused by the Cache_Tryalloc error.
As mentioned many things can cause this but since it's most likely entity related you should be able to correct it without much effort. What I suggest you to do first is to try and debug by backtracking the problem. Have you ever successfully compiled the map?
If you have, you can look at what's been added and check the entity usage. Or you can cut out that last added part which seems to cause the error and see if it compiles to confirm whether the problem comes from that part or the whole map.
If it's the first time you compile and run the map I suggest you split it up in 2, 4, ... parts and debug as mentioned before.
When this issue is up in the steam forums people usually suggest to manually tell the HL engine how much memory it can use. In your case you could put "-heapsize 1000000" as a startup parameter. However, this may still not solve your problem and if it does solve it, other people without the startup parameter would still get the error. Don't do this.
In general you wanna check if you have:
- A lot of big models (with a high poly count)
- A lot of sprites, although it's unlikely they can cause a memory error.
- Ambient_generics playing big wav files. This can well cause this error. By having a lot of ambient_generic playing fairly big wav files you may reach the entdata limit.
It would be nice if you could tell us what you've tried to do. This is not one of those errors which has a simple solution.
I suppose you have already searched this forum. I had this problem myself for about a week ago. Me and byob experimented a bit. In my case I had two parts which both compiled without any errors. I put them together and was able to compile without any errors but boom, Cache_Tryalloc error. It turned an ambient_generic playing a very large wav file in the last part of the map caused the error. My entdata was ok when compiling that part only but in combination with the rest of the map, the entdata was simply too big.
See the thread if you want to read more about it.
Originally posted by nerv.If you couldnt fix , try to select all map and use texture tool to aply 1:1 scale. [save with another name]
And try to compile.
Probably will work and now you have 2 ways:
-Search the problem on the first map.
or
-Remake the texture scales on the "1:1" file.
WORKED! Thanx to everybody :)
Fixed, delete post.
Please log in to post replies.