Search Ctrl K
Home / Tools
THE FEUTEX TOOLKIT

Thread Stack Memory Budget

Separate reserved stack address space from estimated committed stack memory.

Computer Systems workspace● Runs in your browser
01 Your input
02 Your result
View or copy raw result data
FormulaReserved address space = n*reserve/1024; Estimated committed memory = n*used/1024

Made for real tasks

  • Separate reserved stack address space from estimated committed stack memory.
Explore step-by-step workflows →

Worked example

Inputs

Threads
800 threads
Reserved stack per thread
1024 KiB
Committed stack per thread
64 KiB

Expected results

Reserved address space
800 MiB
Estimated committed memory
50 MiB

Load the example in the workspace to reproduce these results. Display rounding does not change the underlying calculation.

How to use this tool

  1. Enter threads, reserved stack per thread, committed stack per thread in the displayed units.
  2. Calculate the scenario, then compare it with measurements before changing a system.

Try this example

{
  "n": 800,
  "reserve": 1024,
  "used": 64
}

Accuracy and scope

Uses supplied per-thread values; runtime, guards and non-stack allocations excluded.

Is my data uploaded?

This tool runs locally in your browser. Input and output are not sent to a processing server. Copy or download your result before leaving the page.