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

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.)
 
C

Cowboy \(Gregory A. Beamer\)

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!
*************************************************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top