Skip to content

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

License

Notifications You must be signed in to change notification settings

FrostbyteGR/LeakGuard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published