Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Before Posting...
Please check out the Community Guidelines in the Announcements and Administration Category.

More Info on Driver Writing and Debugging


The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.


Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/


Re: windbg digest: March 05, 2018

Osiris_PedrosoOsiris_Pedroso Member Posts: 24
I normally use

!address -summary

and check the kinds of memory being used to discern if memory leaking is
happening.

On Mar 5, 2018 23:00, "Kernel Debugging Interest List digest" <
[email protected]> wrote:

> WINDBG Digest for Monday, March 05, 2018.
>
> 1. get size of all allocated memory
> 2. Re: get size of all allocated memory
> 3. RE: get size of all allocated memory
>
> ----------------------------------------------------------------------
>
> Subject: get size of all allocated memory
> From: [email protected]
> Date: Mon, 5 Mar 2018 03:38:02 -0500 (EST)
> X-Message-Number: 1
>
> Hi guys,
> is there any way to get total size of allocated memory from a app crash
> dump?
> I know !heap can return details for specific heap, but is there a way to
> display total size directly?
>
> Regards
> Herb
>
> ----------------------------------------------------------------------
>
> Subject: Re: get size of all allocated memory
> From: Tim Roberts
> Date: Mon, 5 Mar 2018 08:28:23 -0800
> X-Message-Number: 2
>
> "[email protected] windbg"@lists.osr.com wrote:
> > is there any way to get total size of allocated memory from a app crash
> dump?
> > I know !heap can return details for specific heap, but is there a way to
> display total size directly?
>
> I'm not sure "total size of allocated memory" has any meaning. What are
> you hoping to do with this information? Are you looking for kernel-mode
> memory, or user-mode memory for one process, or for all processes?
>
> --
> Tim Roberts, [email protected]
> Providenza & Boekelheide, Inc.
>
>
> ----------------------------------------------------------------------
>
> Subject: RE: get size of all allocated memory
> From: [email protected]
> Date: Mon, 5 Mar 2018 20:56:37 -0500 (EST)
> X-Message-Number: 3
>
> Hi Tim,
> It is about user mode memory, I want to know this because I occasionally
> see memory allocation failure when analyzing user uploaded dumps, I want to
> confirm if it is really caused by memory leak.
>
> Regards
> Herb
>
>
>
>
> ---
>
> END OF DIGEST
>
> ---
> You are currently subscribed to windbg as: [email protected]
> To unsubscribe send a blank email to [email protected]
>
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Upcoming OSR Seminars
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!
Kernel Debugging 30 Mar 2020 OSR Seminar Space
Developing Minifilters 15 Jun 2020 LIVE ONLINE
Writing WDF Drivers 22 June 2020 LIVE ONLINE
Internals & Software Drivers 28 Sept 2020 Dulles, VA