Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / [SOLVED] Memory Leak Question

Author
Message
Nieb
10
Years of Service
User Offline
Joined: 13th May 2014
Location: Lurking
Posted: 13th Sep 2016 00:51
Is this a memory leak?

How about this?

The author of this post has marked a post as an answer.

Go to answer

Nieb
10
Years of Service
User Offline
Joined: 13th May 2014
Location: Lurking
Posted: 13th Sep 2016 00:59 Edited at: 13th Sep 2016 01:00
This post has been marked by the post author as the answer.
Nevermind, I get it now.
Local vars are destroyed after a function, however "blarg" was just a pointer to the Vector3 object. I need to use DeleteVector3() at the end of the function.
Fixed my functions now the memory use isn't counting up anymore.

Login to post a reply

Server time is: 2024-11-25 02:05:37
Your offset time is: 2024-11-25 02:05:37