Process Monitor will eat up all of your computer memory if you let it run like that, until procmon or you computer crashes.
Fortunately, you can adjust the settings to prevent this. You have two options:
- Store procmon data on the disk rather that in memory
- Go to File -> Backing File
- Select "Use file named" instead of "Use virtual memory."
- Choose a path for the capture files (warning, check that you have enough space available! Do not fill up your system drive!)
- Clear events and Restart the capture so that the settings are taken into account.
- And/Or you can configure Procmon so that it'll discard the events that don't match your filter (thus, using way less memory/disk space).
- Go to Filter -> enable the "Drop Filtered Events" option
- Clear the events and Restart the capture.
By using option 1 and / or 2 you can let procmon run for hours or even days especially if you filter the events properly and enable the "Drop Filtered Events" option.