Jump to content

Recommended Posts

Posted

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.

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...