Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Pages: [1]
  Print  
Author Topic: tvactor OptimizeAnimations massive leak  (Read 3042 times)
DarekRuman
Customers
Community Member
*****
Posts: 184

game developer


WWW
« on: November 22, 2010, 11:07:55 PM »

Hi, I'm just fighting with massive leak from tvactor.
Its cause by OptimizeAnimations command.

Glad I found it ... after 3 hours of search Smiley
Note that I;m using old dll with vehicle support so I dont know is this bug still in newest release.
Logged

www.reddotgames.pl
tv6.3 tv6.5 developer
games made in TV : Paintball Extreme, Reindeer Adventure, Mole : Great Adventure, Foxy Fox, Włatcy móch : Śnieżna Rozwałka, Włatcy Móch : Magiczni Wojownicy, Ski:), Lowrider Extreme
SylvainTV
Administrator
Community Member
*****
Posts: 4971


WWW
« Reply #1 on: November 30, 2010, 07:40:48 AM »

How much does it leak ? Is it like the total animation size, or smaller ?
Also it's better to do the OptimizeAnimations offline and resave to TVA.
This way the loading of the actor in the game is vastly quicker.
Logged

Regards

Sylvain Dupont
TrueVision3D Developer
sylvain@truevision3d.com

TV3D IRC at http://chat.truevision3d.com or on server irc.truevision3d.com #Truevision3D. Come talk with us !
DarekRuman
Customers
Community Member
*****
Posts: 184

game developer


WWW
« Reply #2 on: December 14, 2010, 04:03:25 PM »

Pretty big leak. I was loading about 300 actors (15 + rest duplicated) and it was about 20 MB total leak! Each actor was about 1 MB model size. After about 15 times track restarts game crashes (~ doubled ram usage, from 400 MB to ~ 800MB).
I just disabled OptimizeAnimations to avoid this but its a good idea to do it offline and load optimized models. I will keep it in mind.
« Last Edit: December 14, 2010, 04:05:53 PM by DarekRuman » Logged

www.reddotgames.pl
tv6.3 tv6.5 developer
games made in TV : Paintball Extreme, Reindeer Adventure, Mole : Great Adventure, Foxy Fox, Włatcy móch : Śnieżna Rozwałka, Włatcy Móch : Magiczni Wojownicy, Ski:), Lowrider Extreme
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks