Skip to content

RedM Pool Sizes

RedM has internal limits called "Pools" that manage various entities, objects, and resources. When a server exceeds these limits—often due to high-quality mappings or many scripts—it can cause clients to crash with errors like Object Pool Overflow.

To prevent this, you can manually increase these pool sizes in your server configuration.

Below is a list of common pool size increases recommended for servers running custom SPOONI mappings or extensive script setups.

Pool NameRecommended SizeUse Case
Object2000General world objects and props.
DrawableStore50000Model and texture loading limits.
TxdStore26000Texture dictionary capacity.
CDoorExtension160Custom interactable door limits.
CAvoidanceComponent1300AI/Player pathing avoidance.
AttachmentExtension430Entity attachments and props.
CPropSetObjectExtension950MLO and prop set handling.
OcclusionPathNode1500World visibility and occlusion.
netGameEvent400Network event synchronization.

How to Implement

To apply these changes, add the increase_pool_size command to your server.cfg file.

IMPORTANT

These lines must be placed at the very top of your server.cfg, before any resources are started.

Example server.cfg snippet:

bash
# === Pool Size Overrides ===
increase_pool_size "Object" 2000
increase_pool_size "DrawableStore" 50000
increase_pool_size "TxdStore" 26000
increase_pool_size "AttachmentExtension" 430
increase_pool_size "CDoorExtension" 160
increase_pool_size "CAvoidanceComponent" 1300
increase_pool_size "CPropSetObjectExtension" 950
increase_pool_size "netGameEvent" 400
# ... add others as needed

# === Standard Server Config ===
endpoint_add_tcp "0.0.0.0:30120"
endpoint_add_udp "0.0.0.0:30120"
# ...

TIP

If you are experiencing specific crashes, check our Crash Codes Guide to identify which pool might be overflowing.