Advertisement
MagicAndre1981

trace memory usage with xperf

Jul 8th, 2015
265
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Install the Windows Performance Toolkit (http://social.technet.microsoft.com/wiki/contents/articles/4847.install-the-windows-performance-toolkit-wpt.aspx), open the command prompt with admin rights.
  2.  
  3. Now run this command to capture the issue:
  4.  
  5. xperf -on PROC_THREAD+LOADER+VIRT_ALLOC -stackwalk VirtualAlloc+VirtualFree -buffersize 1024 -MaxFile 2048 -FileMode Circular && timeout -1 && xperf -d C:\MemoryUsage.etl
  6.  
  7. If you have enough data of the memory grow of the kernel, press a key to stop tracing.
  8.  
  9. Compress the MemoryUsage.etl as 7z/RAR (to reduce the size), upload it (Onedrive, dropbox) and paste a link here.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement