memory leak(S) ?

Post bug reports here.

Moderator: MOD_TitansOfSteel

Post Reply
ste
Posts: 4
Joined: Sat Sep 13, 2003 2:10 am

memory leak(S) ?

Post by ste »

Evrey time i click the "factory" button in the first menu (Command center) and then "exit", the game eat 1.2 Mb of memmory. it looks like there is quite a lot of problems like this, because after an afternoon of playing, i often get something like 150 mb of memory used just by TOS:WS. i have 368 mb of ram total and i realy feel the increased disk activity... i guess it hurt for the poor users who have just the 64 mb required.



--
// optimizing the memmory by removing useless functions
free(free);
ste
Posts: 4
Joined: Sat Sep 13, 2003 2:10 am

and i forgot to say about the CPU

Post by ste »

well, nobody care, probably, but the game also use 100% of the cpu anytime, it's not a bug, but it's still strange for a turn based game to do that.

(my laptop commuter with TOS is like a plasma gun on a titan with an Heat 1)


--
// reminder : ask the boss to do a partnership with
// fan sellers
void mainloop() {
while (rand()*10000);
next_turn();
}
ste
Posts: 4
Joined: Sat Sep 13, 2003 2:10 am

but...

Post by ste »

i forgot to say the game is great :)
(thoses little problem will not change my opinion)
User avatar
Marga
Posts: 56
Joined: Wed Oct 10, 2001 8:00 am
Contact:

Fix with first patch

Post by Marga »

We will look into it and hopefully get it fixed with the first patch, which we hope to finish in about a week...
Up The (UNDEAD)- Irons
LarkinVB
Posts: 1501
Joined: Tue Oct 09, 2001 8:00 am
Location: Germany
Contact:

Post by LarkinVB »

ste wrote:well, nobody care, probably, but the game also use 100% of the cpu anytime, it's not a bug, but it's still strange for a turn based game to do that.
The grafix/sound library used to do TOS:WS is polling, not thread based. The lib is called Allegro and free. If you are interested in game programming and don't want to hassle with DirectX or want to do a multi platform game it comes highly recommended.

Allegro game library
Post Reply

Return to “Tech Support”