huge performance bug in TGEA1.8.0,1.8.1 (older versions not tested)
by Marton Szucs · in Torque Game Engine Advanced · 02/10/2009 (6:47 pm) · 22 replies
Hi guys,
problem: projectiles eating the performance and memory. The game starts a lag, and slow down.
Test enviroment: WinXP, core2 2ghz, X1600Mobile ati
steps:
1. install a TGEA
2. speed up the testing: go to stronghold demo, edit the crossbow.cs:
- set the reaload timeing value to 0.01
- set the firing timeout value to 0.01
- remove/comment the following line for infinite ammo:
%obj.decInventory(%this.ammo,1);
3. start the game, load the first mission
4. check the memory usage (in task manager or another app)
5. test your superior crossbow, shoot one place on the hill, or anything
6. the game will eat about 100 megz / 5 mins
I'm working on a shooter game, and my server always start to eat the resources.
please help to fix this.
thanks
Marton
problem: projectiles eating the performance and memory. The game starts a lag, and slow down.
Test enviroment: WinXP, core2 2ghz, X1600Mobile ati
steps:
1. install a TGEA
2. speed up the testing: go to stronghold demo, edit the crossbow.cs:
- set the reaload timeing value to 0.01
- set the firing timeout value to 0.01
- remove/comment the following line for infinite ammo:
%obj.decInventory(%this.ammo,1);
3. start the game, load the first mission
4. check the memory usage (in task manager or another app)
5. test your superior crossbow, shoot one place on the hill, or anything
6. the game will eat about 100 megz / 5 mins
I'm working on a shooter game, and my server always start to eat the resources.
please help to fix this.
thanks
Marton
#22
10/10/2009 (12:26 pm)
yes, its true, i read from Alex Scra... that they disable the memory manager because have problems with the new graphics stuff...
ParticleStorm