Nytro Posted August 6, 2013 Report Posted August 6, 2013 [h=1]Defrag Tools: #50 - WPT - Memory Analysis - Heap[/h] Posted: 14 hours ago By: Larry Larsen, Andrew Richards, Chad Beeder [h=3]Download[/h] [h=3]How do I download the videos?[/h] To download, right click the file type you would like and pick “Save target as…” or “Save link as…” [h=3]Why should I download videos from Channel9?[/h] It's an easy way to save the videos you like locally.You can save the videos in order to watch them offline.If all you want is to hear the audio, you can download the MP3! [h=3]Which version should I choose?[/h] If you want to view the video on your PC, Xbox or Media Center, download the High Quality WMV file (this is the highest quality version we have available). If you'd like a lower bitrate version, to reduce the download time or cost, then choose the Medium Quality WMV file.If you have a Zune, Windows Phone, iPhone, iPad, or iPod device, choose the low or medium MP4 file.If you just want to hear the audio of the video, choose the MP3 file. Right click “Save as…” MP3 (Audio only) [h=3]File size[/h] 11.7 MB MP4 (iPod, Zune HD) [h=3]File size[/h] 75.4 MB Mid Quality WMV (Lo-band, Mobile) [h=3]File size[/h] 38.7 MB High Quality MP4 (iPad, PC) [h=3]File size[/h] 163.7 MB Mid Quality MP4 (Windows Phone, HTML5) [h=3]File size[/h] 114.4 MB High Quality WMV (PC, Xbox, MCE) In this episode of Defrag Tools, Andrew Richards, Chad Beeder and Larry Larsen continue walking you through the Windows Performance Toolkit (WPT). This is part 3 of 3 episodes on memory usage/leaks. Example xPerf scripts.Resources:Aaron Margosis VirtMemTestTimeline:[00:00] - 50th Episode of Defrag Tools![01:20] - Attach: xperf -start HeapSession -heap -pids %1 -stackwalk ...[03:28] - VirtMemTest[04:54] - WPA[06:22] - Type - Allocated Inside (AI) & Outside (AO), Freed Inside (FI) & Outside (FO)[07:20] - Launch: Image File Execution Options[07:51] - Launch: xperf -start HeapSession -heap -pids 0 -stackwalk ...[08:40] - Registry Editor - IFEO[10:26] - WPA[11:06] - Type - Allocated Inside (AI) & Outside (AO), Freed Inside (FI) & Outside (FO)[11:25] - Summary - AIFOExample: "xperf - Collect Heap_Attach.cmd"@echo offecho Press a key when ready to start... pauseecho . echo ...Capturing... echo .xperf -on PROC_THREAD+LOADER+VIRT_ALLOC -stackwalk VirtualAlloc+VirtualFree -BufferSize 1024 -MinBuffers 256 -MaxBuffers 256 -MaxFile 256 -FileMode Circularxperf -start HeapSession -heap -pids %1 -stackwalk HeapAlloc+HeapRealloc -BufferSize 1024 -MinBuffers 256 -MaxBuffers 256 -MaxFile 256 -FileMode Circularecho Press a key when you want to stop... pause echo . echo ...Stopping... echo .xperf -stop -stop HeapSession -d heap.etlExample: "xperf - Collect Heap_Launch.cmd"@echo off echo Press a key when ready to start... pauseecho .echo ...Capturing... echo .rem Add the process to IFEOreg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\%1.exe" /v TracingFlags /t REG_DWORD /d 1 /fxperf -on PROC_THREAD+LOADER+VIRT_ALLOC -BufferSize 1024 -MinBuffers 256 -MaxBuffers 256 -stackwalk VirtualAllocxperf -start HeapSession -heap -pids 0 -stackwalk HeapAlloc+HeapRealloc -BufferSize 1024 -MinBuffers 256 -MaxBuffers 256 -MaxFile 256 -FileMode Circularecho Press a key when you want to stop...pauseecho . echo ...Stopping... echo .xperf -stop HeapSession -stop -d heap.etlrem Remove the process from IFEOreg delete "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\%1.exe" /v TracingFlags /fSursa: Defrag Tools: #50 - WPT - Memory Analysis - Heap | Defrag Tools | Channel 9 Quote