Hello,
I need some help to trace down which structure may consume too much memory.
Actually what happens is: with every run, starting from, let's say 300-th, program consumes more and more memory (about 30K each time) . There is no memory leak, I checked with different kind of tools. So I'm thinking of some structure (container) just keeps growing without being freed.
Question: Is there any tool that allows to find such a growing structure?
Code base is huge, analyzing code will not help.
Any advice is appreciated.
C++ Memory consumption issue.
Started by xtigr, Mar 29 2007 06:54 PM
4 replies to this topic
#1
Posted 29 March 2007 - 06:54 PM
#3
Posted 29 March 2007 - 09:07 PM
Thanks for the link.
Unfortunately I couldn't download the manager.
Few more things I should have mentioned before: the software is under Linux using STL libraries.
Unfortunately I couldn't download the manager.
Few more things I should have mentioned before: the software is under Linux using STL libraries.
#4
Posted 30 March 2007 - 01:50 PM
Sorry about that, i fixed it :)
It should work fine under Linux and with stl, just make sure you include it AFTER the stl and linux stuff and you will be fine, eg.:
#include <global stuff>
#include "mmgr.h"
#include "your stuff"
It should work fine under Linux and with stl, just make sure you include it AFTER the stl and linux stuff and you will be fine, eg.:
#include <global stuff>
#include "mmgr.h"
#include "your stuff"
"Stupid bug! You go squish now!!" - Homer Simpson
#5
Posted 30 March 2007 - 04:55 PM
Great, I'll try this on Monday!
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











