473,385 Members | 1,606 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Increasing the stack size???

Hi

Please help...

i am running an application where one of my data validation funtions linked
to a Dataset event ColumnChanging keeps throwing a StackOverflowException!!!
My code is fine, i just have a deep method/function call going on.... how
can i increase the stack from it's default size which i beleive to be 1mb??

Thanks
Nov 17 '05 #1
2 1887
I highly doubt that your function call is *that* deep.

Can you verify that ColumnChanging isn't performing a recursive operation?

--
Dave Sexton
dave@www..jwaonline..com
-----------------------------------------------------------------------
"Darryn" <da****@datawave.com.au> wrote in message news:%2****************@TK2MSFTNGP09.phx.gbl...
Hi

Please help...

i am running an application where one of my data validation funtions linked
to a Dataset event ColumnChanging keeps throwing a StackOverflowException!!!
My code is fine, i just have a deep method/function call going on.... how
can i increase the stack from it's default size which i beleive to be 1mb??

Thanks

Nov 17 '05 #2
If you are changing a column from within the column-change event, you may be
triggering a column change event, which may be changing the column again,
which triggers the event again, and so on, forever (or until the stack
overflows).

I'd look for that possibility.

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
"Darryn" <da****@datawave.com.au> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Hi

Please help...

i am running an application where one of my data validation funtions
linked
to a Dataset event ColumnChanging keeps throwing a
StackOverflowException!!!
My code is fine, i just have a deep method/function call going on.... how
can i increase the stack from it's default size which i beleive to be
1mb??

Thanks

Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: RA Scheltema | last post by:
hi there, I'm working on a project in Visual Basic .NET, which makes use of a dll that rquires quite a lot of stack space. Is there a way to increase the available stack space (about 10 mb...
2
by: ronjon | last post by:
I am trying to corelate C code and its associated assembly code produced by gcc. In particular,I am trying to figure out how the stack pointer increments during variable initialization inside a...
3
by: Qoo | last post by:
Is there any tools like "stubedit" can let me enlarge the stack size under linux ? And I was quite wondering what's the default stack size of the program compiled with gcc without any parameter...
13
by: Ben R. Bolton | last post by:
The documentation indicates that the threads "default stack size" is 1MB. The work "default" implies that it can be changed. Is it possible to change the StackSize in .NET? If so how? Is it...
5
by: jordi | last post by:
I have a recursive program and a typical stackoverflow exception, i need modify the stack size , how can i do it?
4
by: Peter | last post by:
My program causes StackOverflow because it makes many recursive calls due to the program's nature (not a bug!). I would like to know if there is any settings in the compiler or VS.NET IDE so that...
2
by: Ali | last post by:
Hi, I got stack overflow errors while using an unmanaged dll from managed c# application. When i use editbin.exe to increase stack size of app , it works. Is there a way to increase stack size of...
5
by: sunny | last post by:
Hi All Is there any way to determine stack and heap size, during runtime. i.e can we predict stack overflow. etc
9
by: Jensen Somers | last post by:
Hi, Is it possible to change the stack size of a DLL from within the source code? When using threads you can specify the size of the stack you want the thread to use, but since my application...
4
by: =?Utf-8?B?cmFuZHkxMjAw?= | last post by:
Visual Studio 2005, C# WinForms application: Here’s the question: How can I increase the standard 1 MB stack size of the UI thread in a C# WinForms application? Here’s why I ask: I’ve...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.