PC Review

Thread Tools Rate Thread

Are Thread Stacks Trimmed from Working Set?

Paul Bouche
Posts: n/a
      4th Aug 2006
Thread stacks are incrementally grown as their needs expand,
with new memory pages being commited as required. So
thread stacks tend to grow in size to some largest level seen
during their lifetime.

If the largest stack size scenario is rarely seen, then possibly
many of those memory pages will rarely be actually used.

I know thread stack space can be paged in and out as
correlated to thread activity.

Is the thread stack memory also subject to trimming by the
Working Set Manager such that those pages supporting
the rarely used upper stack end are paged out, while the
lower frequently used stack pages are paged in?

Reply With Quote

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ShowDialog - Cross-thread operation not valid: Control'CheckAccountInfo' accessed from a thread other than the thread it was createdon. Tom C Microsoft C# .NET 9 20th Feb 2008 09:15 PM
Cross-thread operation not valid: Control '' accessed from a thread other than the thread it was created on Joe Microsoft C# .NET 4 12th Mar 2007 10:59 AM
Thread A calls a delegate on Thread B but Thread A executes it!?!? Paul Tomlinson Microsoft C# .NET 4 3rd Feb 2005 11:09 PM
Saving trimmed clips ChuckO Windows XP MovieMaker 0 2nd Jan 2004 08:33 PM
Shut down thread - thread closes form, form doesn't close because thread calls it etc... Robin Tucker Microsoft VB .NET 4 17th Oct 2003 12:03 PM




All times are GMT +1. The time now is 09:15 PM.