Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

Trace into the "Out of memory" problem.

Avatar of chcw
chcwFlag for Hong Kong asked on
CVisual C++.NETEditors IDEs
5 Comments1 Solution842 ViewsLast Modified:
I write an application that will process large files. When the files to be processed is too large, the application will be aborted in some stages and throw out a CMemoryException which contains error information "Out of memory".

I want to find out which statement is most likely cause this problem. And which types of allocation will consume most of the memory. However, it seems impossible to catch exceptions for every memory allocation statement.

Is there a good way to trace into the "Out of memory" problem? I am using Visual C++ 6.0
ASKER CERTIFIED SOLUTION
Avatar of Zoppo
ZoppoFlag of Germany image

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Commented:
This problem has been solved!
Unlock 1 Answer and 5 Comments.
See Answers