Home Cloud Computing Microsoft Video: Diagnosing Memory Usage and Leaks

Microsoft Video: Diagnosing Memory Usage and Leaks

0
0

In this episode of Defrag Tools, Chad Beeder and Sylvain Goyette discuss how to diagnose issues related to memory usage, using tools available in the Assessment and Deployment Kit (ADK).We cover two scenarios:

  1. Looking at the baseline memory footprint of a particular Windows installation, and comparing it to the usage during a certain activity
  2. Diagnosing memory usage and leaks in a particular app.

Timeline:

[00:00] Introductions and overview
[01:43] Scenario 1: Get a baseline memory measurement of your system at idle, using the Windows Assessment Console. Run the Memory footprint assessment.
[04:08] Open the resulting XML file to see who is using what memory
[08:33] Collect a memory usage snapshot at any time by using Windows Performance Recorder and selecting the Resident Set analysis profile. Capture a short trace.
[10:37] Open the trace with Windows Performance Analyzer and look at theResidentSet graph to drill into the memory usage data
[16:57] Scenario 2: Memory leak analysis. Capture a longer trace, using VirtualAllocusage and Heap usage providers.
[18:09] You need to set a registry key to specify which process you want heap tracing enabled on. This is noted in the WPR documentation.
[19:44] What is the difference between heap usage and VirtualAlloc usage?
[20:45] Looking at Sylvain’s test app which leaks memory
[22:37] Open the trace in WPA. Use the VirtualAlloc Commit LifeTimes and Heap Allocations graphs to see the memory usage over time and track down where the leaks are in your app.
[31:33] Questions? Email us at defragtools@microsoft.com

via the fine folks at Microsoft.

Categories:
Microsoft Founded in 1975, Microsoft (Nasdaq “MSFT”) is the worldwide leader in software, services, devices and solutions that help people and businesses realize their full potential.

Featured Resources:

Related Articles:

| LATEST FEATURED RESOURCES

White Papers

    Application Lifecycle Management with Stratusphere UX – White Paper

    Enterprises today are faced with many challenges, and among those at the top of the list is the struggle surrounding the design, deployment, management and operations that support desktop applications. The demand for applications is increasing at an exponential rate, and organizations are being forced to consider platforms beyond physical, virtual and cloud-based environments. Users […]

    Downloads

      Download Commvault VM Backup and Recovery: end-to-end VM backup, recovery and cloud management

      Commvault’s ability to provide end-to-end VM backup, recovery and cloud management creates a significantly better way to build, protect and optimize VMs throughout their lifecycle. Our best-in-class software for VM backup, recovery and cloud management delivers a number of significant benefits, including: VM recovery with live recovery options; backup to and in the cloud; custom-fit […]

      On-Demand Webinars

        What’s Going on in EUC Printing – A Technical Deep Dive!

        The IGEL Community and ThinPrint invite you to watch the following technical deep dive webinar. The agenda is to technically bring you up to speed on what’s going on in the EUC Printing space today along with a deep dive into new methods, technologies, printing scenarios and a discussion on why printing still matters. You […]

        Latest Videos

          Views All IT News on DABCC.com
          Views All IT Videos on DABCC.com
          Win big $$, visit ITBaller.com for more info!

          Visit Our Sponsors

          Close