Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
1.2 KiB

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