Stack overflow

K

Karunakararao

Hi All

I populating graph in web application. it is poulating the total graph but
it is showing
messagebox "Stack overflow at line:268";
I am getting this error : Stack overflow at line:268
we are not able to idetify the error, how can i solve this error
Help me.

Thanks
Venu.
 
M

Morten Wennevik

Hi Venu,

I suspect you have a recursive method causing this. If the method calls itself too many times without "unwinding" it runs out of stack space.
 
B

Bob Powell [MVP]

A common cause of stack-overflows is having a property reference itself...

int _propertyBacker;
int property
{
get{return _propertyBacker;}
set{property=value;}
}

Have you done something similar??
--
Bob Powell [MVP]
Visual C#, System.Drawing

The Image Transition Library wraps up and LED style instrumentation is
available in the June of Well Formed for C# or VB programmers
http://www.bobpowell.net/currentissue.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/gdiplus_faq.htm

The GDI+ FAQ RSS feed: http://www.bobpowell.net/faqfeed.xml
Windows Forms Tips and Tricks RSS: http://www.bobpowell.net/tipstricks.xml
Bob's Blog: http://bobpowelldotnet.blogspot.com/atom.xml
 

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