galaxykate / BotPrintEvolved

0 stars 1 forks source link

Memory Leak Hotfix #55

Closed relimited closed 10 years ago

relimited commented 10 years ago

I don't know if I'm going to have time before Tuesday to continue to work on this, but as it stands the program now runs for at least 45 minutes (still running as a type this). However, it does start chugging after a while, but looking at documentation that might be a intrinsic problem with the library.

I made sure to clear every extra b2Vec2 we were using for force calculation and updating the transforms.

galaxykate commented 10 years ago

Rad. I think at least some of the remaining problem may be that I'm holding on to the ancestors of each bot (and so no bots get truly discarded), which doesn't matter for a normal number of generations, but maybe is causing problems when we do more generations?

On Mon, Jun 9, 2014 at 4:27 PM, Jameika notifications@github.com wrote:

Merged #55 https://github.com/galaxykate/BotPrintEvolved/pull/55.

— Reply to this email directly or view it on GitHub https://github.com/galaxykate/BotPrintEvolved/pull/55#event-129572786.