LoLJester Posted July 26, 2019 Share Posted July 26, 2019 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. Quote Link to comment Share on other sites More sharing options...
Jason Campbell Posted July 26, 2019 Share Posted July 26, 2019 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. Quote Link to comment Share on other sites More sharing options...
LoLJester Posted July 28, 2019 Author Share Posted July 28, 2019 Hi Jason,I'm stopping the mission, then I start the mission again. I don't exit the engine. Quote Link to comment Share on other sites More sharing options...
LoLJester Posted July 30, 2019 Author Share Posted July 30, 2019 Jason, were you able to find out what was causing the unnecessary memory increase with your project? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.