Engine Error : ED_Alloc: no free edicts

  • Site Migration: See bugs? Report them here. Want something changed or have an idea? Suggest it here.


War Paints Everywhere
Apr 26, 2015
I loaded up the max amount of bots into a custom map that I work on, I added more detail and new routes, close some off, and changed a lot of. So when I do place the bots into the map the game crashes as gives me the ED_Alloc error. Why is this happing?



L4: Comfortable Member
Feb 26, 2017
You have too many entities placed in your map, and because of that, when you load bots into the map, the engine will overflow. The max amount of “edicts” that the engine can handle is 2048, and any more than this number will crash the engine.

The only fix to this is to reduce the amount of entities in your map. Do you have excessive amounts of point_spotlights or other visual effects like env_lightglow? Because it is extremely easy to flood the engine with these, and these would be the first thing I would scale back on.

For more information on Edicts: https://developer.valvesoftware.com/wiki/Entity_limit


Sep 23, 2011
A common beginner mistake is to use dynamic props where static props are more appropriate.