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.
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.
How are you measuring the memory?
I've been measuring memory through task manager
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/
Bookmarks