Advertisement
MagicAndre1981

trace MemoryUsage with xperf

Dec 21st, 2014
867
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 growing memory usage:
  4.  
  5. xperf -on LATENCY+FOOTPRINT+VIRT_ALLOC+MEMINFO+VAMAP+REFSET+MEMINFO_WS+ALL_FAULTS -stackwalk VirtualAlloc+VirtualFree+PROFILE+HardFault+PagefaultTransition+PagefaultDemandZero+PagefaultCopyOnWrite+PagefaultGuard+PagefaultHard+PagefaultAV -buffersize 2048 -MaxFile 2048 -FileMode Circular && timeout -1 && xperf -d C:\MemoryUsage.etl
  6.  
  7. If you have enough data of the memory usage GROW, 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