Re: Looks like memory leak
From: Igor Tandetnik (itandetnik_at_mvps.org)
Date: 10/14/04
- Next message: German: "Re: Looks like memory leak"
- Previous message: Priyesh: "Re: key / value lookup"
- In reply to: German: "Re: Looks like memory leak"
- Next in thread: German: "Re: Looks like memory leak"
- Reply: German: "Re: Looks like memory leak"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 14 Oct 2004 10:26:33 -0400
"German" <german.koninin@crmDASHworldwideDOTnet> wrote in message
news:eDvDqcfsEHA.2556@tk2msftngp13.phx.gbl
> The problem is that memory is not reusin, but growing. Each time I
> run my method, each time it is groing for about 150k.
Show some code. clear() does not leak. If there's a memory leak, it's
elsewhere. E.g., what are you storing in this vector? Are you storing
pointers to memory allocated on the heap, and expect the vector to
deallocate them? Or maybe a class that does not clean up properly in its
destructor?
--
With best wishes,
Igor Tandetnik
"On two occasions, I have been asked [by members of Parliament], 'Pray,
Mr. Babbage, if you put into the machine wrong figures, will the right
answers come out?' I am not able to rightly apprehend the kind of
confusion of ideas that could provoke such a question." -- Charles
Babbage
- Next message: German: "Re: Looks like memory leak"
- Previous message: Priyesh: "Re: key / value lookup"
- In reply to: German: "Re: Looks like memory leak"
- Next in thread: German: "Re: Looks like memory leak"
- Reply: German: "Re: Looks like memory leak"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|