PDA

View Full Version : Memory Release



mukunda
12th February 2011, 11: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, 12:11
How are you measuring the memory?

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

squidge
12th February 2011, 19: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/