Hi,
I have a c++ program that dies because of out of memory error.
Do you know a tool for c++ program that shows which program line allocated how much heap?
I would like to figure which part of the program consumes most of the heap.
Thanks.
Platform: Microsoft C++...Windows
By the way, can heap corruption cause excessive memory usage?
Solution:
It was not heap corruption. Some uninitialised variables were used to allocated the amount of memory.
I used valgrind which showed the problem immediately (both the presence of huge allocations and uninitilased variables).