Potential memory leak?

Friendly conversations, and everything that doesn't fit into the other forums.
4 posts Page 1 of 1
LoLJester
Posts: 109
Joined: Thu Aug 13, 2015 5:58 pm
 
by LoLJester » Fri Jul 26, 2019 6:57 pm
Hello everyone,

I'm having a dilemma that's halting my game's development.
I've been trying to figure out why every time I play the same level the memory increases by 30 to 50 MB.
When I first play the level, the memory in the Task Manager is at 1.27 GB.
After I play the level fully, the memory is at 1.47 GB.
Second time I start the level, the memory starts at 1.47 GB and ends at 1.52 GB.
Third time, starts at 1.52 GB and ends at 1.57 GB.
Fourth time, memory starts 1.57 GB and can't finish the level because it crashes at around 1.6 GB of memory used.
I've tried using the memory leak testing tools: FlagCurrentAllocs(); DumpUnflaggedAllocs("./dump0.txt");
WriteLeaks();

There are apparently no leaks, unless I'm doing the testing wrong.
I'm using T3d 1.2.

Any leads would be greatly appreciated.
Jason Campbell
Posts: 331
Joined: Fri Feb 13, 2015 2:51 am
 
by Jason Campbell » Fri Jul 26, 2019 9:16 pm
Are you shutting the engine down totally or just stopping the mission and starting it again without exiting engine? I remember something vaguely about this and I need to check my current project because this might be an issue for me also. Heh.
LoLJester
Posts: 109
Joined: Thu Aug 13, 2015 5:58 pm
 
by LoLJester » Sun Jul 28, 2019 8:20 pm
Hi Jason,
I'm stopping the mission, then I start the mission again. I don't exit the engine.
LoLJester
Posts: 109
Joined: Thu Aug 13, 2015 5:58 pm
 
by LoLJester » Tue Jul 30, 2019 10:52 pm
Jason, were you able to find out what was causing the unnecessary memory increase with your project?
4 posts Page 1 of 1

Who is online

Users browsing this forum: No registered users and 7 guests