windows-nt/Source/XPSP1/NT/sdktools/leakyapp/leakyapp.txt
2020-09-26 16:20:57 +08:00

31 lines
1.2 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

LeakyApp
LeakyApp is a program with a controllable memory leak used to
test a system under memory stress conditions. LeakyApp has 3
user controls and one display control. When started, LeakyApp
allocates blocks of virtual memory periodically until it is
told to stop or the system runs out of virtual memory to
allocate.
The three pushbuttons on the dialog box are:
Exit - Frees all memory allocations and terminates
the program.
Start/Stop Starts or stops the memory allocations
Leaking (leaking). When Stopped, any memory that
has been allocated remains so, until the
Reset button is pressed.
Reset - Frees all allocated memory.
The display control, the bar graph at the bottom of the dialog,
displays the amount of paging file in use. Note that this may
indicate 100% even though Leaky App continues to allocate memory.
This is normal as, in most cases, the paging file has room for
expansion. So once the current paging file has been completely
allocated, subsequent allocations will cause the paging file
to be extended. Consequently, the display may show 100% for some
time.