BlenderPeople Development

Tracking the development of the BlenderPeople script suite.

Wednesday, August 16, 2006

Memory Issues Solved At Last 

One of the showstopper bugs that I wasn't willing to release until I fixed has been found and squashed. There was a memory leak somewhere in the Action Baking code, and it seemed to be causing Blender to consume increasingly enormous amounts of RAM while generating walk animation. With Ton's help, I was able to find the problem and fix it. No more memory leak!

However, BP was still eating RAM for breakfast when I was making character locomotion. After a couple of tests, I realized that all along it had little to do with the memory leak and more to do with Blender's Undo system. The system will store (by default) 30 copies of the .blend file in RAM while you work (it's actually more efficient than that, but that's as far into it as I'll get here), so it was just crushing itself after 20-30 turns of animation! Turning off Global Undo before generating locomotion fixed the problem entirely.

So what am I doing right now? Getting ready to have BP make the final animation pass on a 400 actor battle.

posted by Roland  # 7:29 AM
Comments: Post a Comment

Archives

02/01/2004 - 02/29/2004   04/01/2004 - 04/30/2004   05/01/2004 - 05/31/2004   06/01/2004 - 06/30/2004   07/01/2004 - 07/31/2004   08/01/2004 - 08/31/2004   09/01/2004 - 09/30/2004   11/01/2004 - 11/30/2004   12/01/2004 - 12/31/2004   01/01/2005 - 01/31/2005   02/01/2005 - 02/28/2005   06/01/2005 - 06/30/2005   09/01/2005 - 09/30/2005   10/01/2005 - 10/31/2005   11/01/2005 - 11/30/2005   12/01/2005 - 12/31/2005   01/01/2006 - 01/31/2006   03/01/2006 - 03/31/2006   04/01/2006 - 04/30/2006   05/01/2006 - 05/31/2006   06/01/2006 - 06/30/2006   07/01/2006 - 07/31/2006   08/01/2006 - 08/31/2006   09/01/2006 - 09/30/2006   10/01/2006 - 10/31/2006   11/01/2006 - 11/30/2006  

This page is powered by Blogger. Isn't yours?