Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 647 Bytes

README.md

File metadata and controls

15 lines (10 loc) · 647 Bytes

LeakGuard

I. DESCRIPTION:

Batch file to monitor and terminate a process should it surpass the specified memory limit

Copyright (c) 2018 Frostbyte [email protected]

II. USAGE:

  • Edit the LeakGuard.bat file and adjust the settings to your liking.
    • processToMonitor: Which process to monitor for abnormal memory usage, file extension must be included.
    • processMemoryLimit: How much memory the process is allowed to allocate before the batch terminates it.
    • warningThreshold: Percentage (related to processMemoryLimit) on which to issue a high memory usage warning.
  • Run it. (Batch will run in a loop, use CTRL+C to exit)