My program chews up a lot of the CPU for ~ min. It only does after I do my execution, if I exit as soon as I launch it closes with no troubles. When I close after doing my processing(a lot of number crunching, two int arrays of 525000) It opens a binary file get all my data in and then I output to a text file, with a lot of number crunchin in the middle. After I am done and get back to my main Dialog, I hit the wait state and no CPU usage, I can even run the number crunch as many times as I want and will do less cpu chewing than when I exit. Any comments, or anyone else had this problem.

I am leaning toward the large arrays that I have, because I tried using them in diffrent delcloration and got assertion failures, and another one kept giving me stack overflow problems.

GUI interface was done using MFC - please hold the comments back about the cursed microSLOTH.