An Unhandled exception of type 'system.stackoverflowexception' occured in mscorlib.dll

  • Thread starter Thread starter vighnesh
  • Start date Start date
V

vighnesh

Hi All

Can anyone please let me know how to catch an unhandled exception like

" An Unhandled exception of type 'system.stackoverflowexception' occured in
mscorlib.dll "

I am unable to catch this using "try - catch - end try" block.

Thanks in advance

Regards
Vighneswar
NGV33010
Software Engineer
Nanna Computers ( Vizag )
Ph : 919440143530
Email : (e-mail address removed)
(This electronic message contains information from Nanna Computers, which
may be privileged or confidential. The information is for the intended
individual(s) or entity named above. If you are not the intended recipient
be aware that any copying, disclosing, distribution or use of the above
email and/or its attachments is prohibited and is illegal. If you have
received this electronic message in error, please notify us by telephone or
email (to the numbers or address above) immediately. This e-mail is not
un-solicited e-mail under the relevant regulations.)
 
You are filling the stack with objects and have run out of stack space. Most
likely, you have a lot of structs in your application, rather than objects.
Or, you are using a huge amount of recursion.

The best solution is to refactor your code so fewer values types are in
memory at any one time.

--
Gregory A. Beamer

*************************************************
Think Outside the Box!
*************************************************
 
Back
Top