Subj : Re: Stack and heap sizes To : borland.public.cpp.borlandcpp From : "Christian PANEL" Date : Sat Nov 01 2003 02:46 pm option of the compiler can add code to prevent a stack overflow (testing limits of the stack), for the heap, operator new can throw an exception to prevent an allocation fault. After that, the error is in your code, and you only can debug it. "Vicente Flich" a écrit dans le message de news: 8i57qvsebgsdk0jkejq7i056dgmqngh0e9@4ax.com... > > Hello! > > I have a win32 project in bc++ 5.02. The final executable is growing > over 5 Mb and I have note that they do some errors while executing but > these erros ara very difficult to debug. I try with Codeguard and also > the DrWatson of Win2000. Somtimes they fail in one point, others in > other point ... but generally they return the c0000005 exception > (violation access). I think the problem is in the size of the heap or > the stack, because I icrease these options and the program work more > stable, but the errors not disappeared of all. > > Anyone know any method to find out the heap and stack sizes that are > being used while executing?, or if anybody have any idea about how > resolve my problem, please ... help... > > Tranks > .