Manish Pansiniya's Blog

.NET, C#, Javascript, ASP.NET and lots more…:)

Number of Maximum Thread on windows

with 2 comments

The default stack size assigned by the linker is 1MB, and 2000 stacks times 1MB per stack equals around 2GB, which is how much address space is available to user-mode programs.

You can try to squeeze more threads into your process by reducing your stack size, which can be done either by tweaking linker options or manually overriding the stack size.

So, number of possible threads in the default scenario is 2000.



Written by Manish

March 11, 2008 at 6:42 am

Posted in .NET, .NET 3.0, Personal

2 Responses

Subscribe to comments with RSS.

  1. Hi. I regularly scan this forum. This is the oldest culture undisputed to ask a query.
    How numberless in this forum are references progressive behind, knavish users?
    Can I depute all the facts that there is?


    December 1, 2008 at 2:59 pm

  2. Nothing seems to be easier than seeing someone whom you can help but not helping.
    I suggest we start giving it a try. Give love to the ones that need it.
    God will appreciate it.


    January 22, 2009 at 5:47 am

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: