Last active
June 11, 2025 01:51
-
-
Save fredemmott/f341b1f78a550ac2cc5aab265d969647 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| wpr -snapshotconfig heap -name OpenKneeboardApp.exe enable | |
| # your own wprp is optional, both are logged | |
| wpr -start heapsnapshot -start .\OpenKneeboard.wprp -filemode | |
| wpr -singlesnapshot heap $((get-process OpenKneeboardApp).id) | |
| # Wait for leak, then the same again | |
| wpr -singlesnapshot heap $((get-process OpenKneeboardApp).id) | |
| wpr -stop c:\users\fred\trace.etl | |
| wpr -snapshotconfig heap -name OpenKneeboardApp.exe disable | |
| # in wpa, select both snapshots, right click, diff view. Then look at 'added' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment