473,395 Members | 1,678 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,395 software developers and data experts.

Stack size problem with managed code

Ali
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 app (or most probably Clr) so that
app starts with a larger stack, like using the old /F switch in Visual Studio
C++ 6.0.
Mar 29 '06 #1
2 3702
Are you getting actual Stack Overflow exceptions in your managed code or are
you getting Stack Overflow errors in your unmanaged dll?
"Ali" <Al*@discussions.microsoft.com> wrote in message
news:10**********************************@microsof t.com...
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 app (or most probably Clr) so
that
app starts with a larger stack, like using the old /F switch in Visual
Studio
C++ 6.0.

Mar 30 '06 #2
Ali
well the actual error message is:
First-chance exception at 0x03616543 in app.exe : 0xc00000FD stack overflow

"Stephany Young" wrote:
Are you getting actual Stack Overflow exceptions in your managed code or are
you getting Stack Overflow errors in your unmanaged dll?
"Ali" <Al*@discussions.microsoft.com> wrote in message
news:10**********************************@microsof t.com...
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 app (or most probably Clr) so
that
app starts with a larger stack, like using the old /F switch in Visual
Studio
C++ 6.0.


Mar 30 '06 #3

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

Similar topics

10
by: Shuo Xiang | last post by:
Greetings: I know that variables declared on a stack definitely does not reside in heap space so there is only a very limited amount of stuff that you can store in the stack of a function. But...
5
by: Gomaw Beoyr | last post by:
Hello Is there any explanation why Microsoft chose to implement arrays as objects allocated on the heap instead of structs allocated on the stack? For "mathematical stuff", one normally...
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...
6
by: Dennis C. Drumm | last post by:
Is there a way to keep track of how much memory a stack object is consuming, considering it may contain a wide variety of objects that do not easily lend themselves to computing a size? Thanks,...
4
by: Robbie | last post by:
Someone at work asked me this question: Value types--do they hit the heap or the pile? Well, I was a bit dumbfounded, because I never heard of the term "pile". I've heard of heap and stack,...
9
by: shine | last post by:
what is the difference between a heap and a stack?
9
by: Microsoft News Server | last post by:
Hi, I am currently having a problem with random, intermittent lock ups in my ASP.net application on our production server (99% CPU usage by 3 threads, indefinately). I currently use IIS Debug...
16
by: sarathy | last post by:
Hi all, I need a few clarifications regarding memory allocaion in C++. I apologize for the lengthy explanation. 1. In C++, Objects are allocated in heap. What does heap refer to? Is it an area...
13
by: deepak | last post by:
Hi In the following function how the memory 'll be allocated. 1) Will it allocate memory for all the char's together or allocate for first char. then for int then for float and after this only...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.