Unable to profile application "The profiler encountered an out-of-memory error"

My app run normally, but when I used Visual Profiler in Windows to profile my app, I got error message. After I started profiling, it would keep generating timeline and would not continue. After a long time I click the stop button and it would gave me the message:

Unable to profile application
“The profiler encountered an out-of-memory error”

What does this mean? How could I resolve it?

Bump.
I have the same problem with Visual Profiler 7.5 and also 8.0 RC.

same here.

I solved the problem by remove something like :

_getch

and

system("PAUSE")