Game Development Community

T3D 1.0.1 Memory Leak in BL with Items in the scene

by Rex Hiebert · in Torque 3D Professional · 06/22/2011 (12:32 pm) · 4 replies

I have a scene that is already memory heavy due to the number of models in the scene. I've also had an on-going issue where the game will crash after about 10-20min. I can see that it always happens when the Task Manager shows the app hitting right around 1.5GB of memory. When I load the scene I can watch the memory continue to climb even when just sitting there looking at the scene.

The I noticed on one scene it was not doing it as much. This scene lacked the Items (in this case, a rotating radar bar on a ship) that the other had. When I go to my main scene that has been having trouble and turn those items into TSStatics, the memory growth slows down and almost stops.

I even tried this in stock 1.0.1 in Deathball. I added an item (healthpack) and it did the same thing. It only seems to do it in BL. AL does not seem to suffer from this.

Any fix for this?

#1
06/23/2011 (2:04 pm)
Should I assume that the fix for this will be "convert to 1.1"? Is it something that can be fixed in 1.0.1?
#2
06/23/2011 (2:09 pm)
I'm merely curious: have you encountered these same issues in 1.1 ?
#3
06/23/2011 (2:37 pm)
Haven't had a chance to work with it too much yet. Started the conversion process but ran into PhysX issues. Even from the start, it seems to have a lower frame rate that 1.0.1.
#4
06/23/2011 (2:43 pm)
I have worked with several companies that have noticed a significant decrease in framerate from 1.0.1 to 1.1.
I have been too busy to cross check this stuff but I hope to get to it sometime soon. drop me an email or put your email in your profile and I'll toss you some notes when I get around to working on tweaking my master BUild of T3D 1.1.