PDA

View Full Version : Memory Release



mukunda
12th February 2011, 10:56
Hello,

I am using graphics scene and when deleting the scene, the memory remains the same.I am calling the destructor and deleting all the items from the scene , even then the memory is same as after calling scene.Please give a solution.

squidge
12th February 2011, 11:11
How are you measuring the memory?

mukunda
12th February 2011, 13:49
I've been measuring memory through task manager

squidge
12th February 2011, 18:27
Then what you are seeing is correct. Task manager is a very rough approximation of memory use.

You need to use something that is application specific, like valgrind.

http://valgrind.org/