Testlimit is a command-line utility that can be used to stress-test
your PC and/or applications by simulating low resource conditions for
memory, handles, processes, threads and other system objects.
Leak Address Windowing Extensions (AWE) memory in specified MBs (default is 1)
-c
Count of number of objects to allocate (default is as many as possible). This must be the last option specified
-d
Leak and touch memory in specified MBs (default is 1)
-e
Seconds elapsed between allocations (default is 0)
-g
Create GDI handles of specified size (default 1 byte). Specify a size of 0 to cause GDI object exhaustion
-h
Create handles. Specify -u to also allocate file objects
-i
Exhaust USER desktop heap
-l
Allocate the specified amount of large pages (rounded to large size multiple)
-m
Leak memory in specified MBs (default is 1)
-p
Create processes - add -n to set min working set. Add -n to set min working set of processes to smallest
-r
Reserve memory in specified MBs (default is 1)
-s
Leak shared memory in specified MBs (default is 1)
-t
Create threads - add -n to specify minimum stack reserve (in KB)
-u
Create USER handles to menus
-v
VirtualLock memory in specified MBs (default is 1)
-w
Reset working set minimum to highest possible value
Runs on:
Client: Windows Vista and higher
Server: Windows Server 2003 and higher
Nano Server: 2016 and higher
Related Links
Windows Internals Book The official updates and errata page for the definitive book on
Windows internals, by Mark Russinovich and David Solomon.
Windows Sysinternals Administrator's Reference The
official guide to the Sysinternals utilities by Mark Russinovich and
Aaron Margosis, including descriptions of all the tools, their
features, how to use them for troubleshooting, and example
real-world cases of their use.
Tìm hiểu cách tối ưu hóa hiệu suất ứng dụng bằng cách mô phỏng tải trong thế giới thực với dịch vụ Kiểm tra Tải Azure. Tìm hiểu cách tự động kiểm tra tải với Các hành động GitHub để đảm bảo hiệu suất và khả năng mở rộng ứng dụng nhất quán.