Jump to content
  • Advertisement
Sign in to follow this  
cvet

asEP_AUTO_GARBAGE_COLLECT hang

This topic is 2561 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Revision 1072.

With asEP_AUTO_GARBAGE_COLLECT true, on releasing engine, present hang in aprox 1 minute.
This happens both - from loading from source or bytecode.

Share this post


Link to post
Share on other sites
Advertisement
I need a little more than that to investigate the problem.

Do you have a lot of objects in the garbage collector just before releasing the engine? (call GetGCStatistics to find out)

Did you have an similar amount of objects before upgrading AngelScript?

Share this post


Link to post
Share on other sites
Do you have a lot of objects in the garbage collector just before releasing the engine? (call GetGCStatistics to find out)[/quote]currentSize = 1134, totalDestroyed = 41484, totalDetected = 2053, newObjects = 0, totalNewDestroyed = 7667

Did you have an similar amount of objects before upgrading AngelScript?[/quote]Yes. Previous revision is 945.

Share this post


Link to post
Share on other sites
Looks normal. I see you have around 5 percent of your garbage collected objects forming circular references that are then detected and destroyed by the garbage collector.

I believe the slow down is related to the other problem you're mentioning where it seems the GC isn't able to free all objects for some reason. This would cause the GC to make multiple passes over the list and would likely take a while (though 1 minute is a very long time).

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!