Click here to Skip to main content
15,915,508 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionHow to change default stack size while using ThreadPool in .NET Pin
kiran_sr12-Jan-09 5:17
kiran_sr12-Jan-09 5:17 
AnswerRe: How to change default stack size while using ThreadPool in .NET Pin
S. Senthil Kumar12-Jan-09 5:49
S. Senthil Kumar12-Jan-09 5:49 
GeneralRe: How to change default stack size while using ThreadPool in .NET Pin
Rajasekharan Vengalil12-Jan-09 6:56
Rajasekharan Vengalil12-Jan-09 6:56 
GeneralRe: How to change default stack size while using ThreadPool in .NET Pin
kiran_sr12-Jan-09 7:36
kiran_sr12-Jan-09 7:36 
GeneralRe: How to change default stack size while using ThreadPool in .NET Pin
Luc Pattyn12-Jan-09 8:09
sitebuilderLuc Pattyn12-Jan-09 8:09 
GeneralRe: How to change default stack size while using ThreadPool in .NET Pin
S. Senthil Kumar12-Jan-09 8:58
S. Senthil Kumar12-Jan-09 8:58 
GeneralRe: How to change default stack size while using ThreadPool in .NET Pin
Rajasekharan Vengalil12-Jan-09 8:59
Rajasekharan Vengalil12-Jan-09 8:59 
GeneralRe: How to change default stack size while using ThreadPool in .NET Pin
Luc Pattyn12-Jan-09 9:13
sitebuilderLuc Pattyn12-Jan-09 9:13 
Hi,

whatever we think about recursion, I fail to understand why Microsoft reserves the right to specify a maximum stack size at all; if an app is allowed to allocate regular memory for whatever purpose (from malloc to the largest new SomeThing), then why can't the app developer not be trusted of setting his own maximum stack size? It is after all his responsibility not to run out of physical memory. virtual memory,
address space, and what have you. What is so special about a stack? Having a rather low default value may be fine, as it protects against one kind of mishaps, but it should not be cast in stone.

Or: what is the difference between a single thread with an unlimited stack, and a huge number of threads with a limited stack?

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

I use ListBoxes for line-oriented text, and PictureBoxes for pictures, not drawings.


GeneralRe: How to change default stack size while using ThreadPool in .NET Pin
kiran_sr12-Jan-09 9:30
kiran_sr12-Jan-09 9:30 
GeneralRe: How to change default stack size while using ThreadPool in .NET Pin
Rajasekharan Vengalil12-Jan-09 9:30
Rajasekharan Vengalil12-Jan-09 9:30 
GeneralRe: How to change default stack size while using ThreadPool in .NET Pin
S. Senthil Kumar12-Jan-09 10:06
S. Senthil Kumar12-Jan-09 10:06 
GeneralRe: How to change default stack size while using ThreadPool in .NET Pin
Rajasekharan Vengalil12-Jan-09 10:12
Rajasekharan Vengalil12-Jan-09 10:12 
GeneralRe: How to change default stack size while using ThreadPool in .NET Pin
Mark Salsbery12-Jan-09 10:29
Mark Salsbery12-Jan-09 10:29 
QuestionHow To Adjust Zone Security Without The .NET Framework 2.0 Configuration tool ?? Pin
Dattatraya K11-Jan-09 21:47
Dattatraya K11-Jan-09 21:47 
AnswerRe: How To Adjust Zone Security Without The .NET Framework 2.0 Configuration tool ?? Pin
Not Active12-Jan-09 0:46
mentorNot Active12-Jan-09 0:46 
GeneralRe: How To Adjust Zone Security Without The .NET Framework 2.0 Configuration tool ?? Pin
Dattatraya K13-Jan-09 4:07
Dattatraya K13-Jan-09 4:07 
QuestionQuestion about allocation memory on the stack and on the heap in .NET framework Pin
Yanshof11-Jan-09 19:46
Yanshof11-Jan-09 19:46 
AnswerRe: Question about allocation memory on the stack and on the heap in .NET framework Pin
Not Active11-Jan-09 19:57
mentorNot Active11-Jan-09 19:57 
GeneralRe: Question about allocation memory on the stack and on the heap in .NET framework Pin
Jon Rista12-Jan-09 5:07
Jon Rista12-Jan-09 5:07 
AnswerRe: Question about allocation memory on the stack and on the heap in .NET framework Pin
N a v a n e e t h11-Jan-09 23:57
N a v a n e e t h11-Jan-09 23:57 
QuestionWMI Error: User credentials cannot be used for local connections Pin
S.Rekka11-Jan-09 19:21
S.Rekka11-Jan-09 19:21 
AnswerRe: WMI Error: User credentials cannot be used for local connections Pin
Anil_Saran5-Jul-11 1:38
Anil_Saran5-Jul-11 1:38 
QuestionHow to FIT a square image into an oval/circle (no clipping)? Pin
lti200011-Jan-09 17:12
lti200011-Jan-09 17:12 
Questionstudent database in c# Pin
sajda11-Jan-09 0:12
sajda11-Jan-09 0:12 
AnswerRe: student database in c# PinPopular
Ravi Bhavnani11-Jan-09 0:26
professionalRavi Bhavnani11-Jan-09 0:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.