Raised This Month: $ Target: $400
 0% 

remove_entity background work?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
gangien
Junior Member
Join Date: Feb 2008
Old 05-10-2009 , 15:11   remove_entity background work?
Reply With Quote #1

So i have a problem where i do esentially
PHP Code:
create_entity(bunch of entities);

//some other point when user does something

delete_entity(bunch of entities);
create_entity(bunch of entities); 
this results in "ED_Alloc: no free edicts"
which crashes the server.

if i add a half second delay inbetween delete and create, it works just fine. However, if it's a .1 second delay it crashes as it did without any delay.

Is there some sort of garbage collection that's going on in the abckground? and further if there is, is there a better way of letting it gc without just adding a magical delay in there?

Thanks
gangien is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:25.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode