What do the different columns in the “!heap -flt -s xxxx” windbg command represent
I've been doing some work on high memory issues, and I've been doing a lot of heap analysis in windbg, and I was curious what the different columns really mean in "!heap -flt -s xxxx" command.
I read What do the 'size' numbers mean in the windbg !heap output?, and I looked in my "Windows Internals" book, but I still had a bunch of questions. So the columns and my questions are below.
**HEAP_ENTRY** - What does this pointer really point to? How is it different than UserPtr?
**Size** - What does this size mean? How is it different than UserSize?
**Prev** - This just appears to be the negative offset to get to the previous heap entry. Still not sure exactly how it's used.
**Flags** - Is there any documentation on these flags?
**UserPtr** - What is the user pointer? In all cases I've seen it's always 8 bytes higher than the HEAP_ENTRY, but I don't really know what it points to.
**UserSize** - This appears to be the size of the actual allocation.
**state** - This just tells you what state of this heap entry is (free, busy, etc....)
HEAP_ENTRY Size Prev Flags UserPtr UserSize - state
0015eeb0 0044 0000  0015eeb8 00204 - (busy)
How to represent the start and end times for one day? Using October 23, 2008 as an example, is it start 2008-10-23 12:00:00 AM and end 2008-10-23 11:59:59 PM?
first things first: It was working when I used it last time (which is about more than a month ago). The Problem is, that no command which is from an extension is working, it seems like no extension is
What do the each of the watch window icons and overlays in Visual Studio represent? Is there a legend on an MSDN page somewhere?
Is it possible to use windbg commands like !locks and .loadby sos mscorwks from the Visual Studio command window (in a debug session)? I've noticed I can use eg k to print a stack trace, so I was wond
What classes represent the four different scopes: page, request, session, and application? I am unsure of the first one, but think the rest might be ServletRequest, HttpSession, and ServeltContext.
I know that windbg command d esp display the content that esp points. But, what range of it? How does it get the end?
I am a bit confused how glibc on linux allocates its memory to various program.These are the few questions: Is it been allocated from a common heap(i.e is there a common heap across all of the proces
Oracle throws ora-xxxx for sql malform exception and ora-xxxx for xxxx exception, I am trying to put this into a report, what is this called?
We hear a lot about frameworks like Django, ROR and CodeIgniter in Python, ruby and PHP respectively, all of them represents the MVC paradigm, is there other paradigm different than MVC represented wi
I need text-console interactive dialogs. I am porting a shell script to Python. Which Python tool would do pretty much exactly what the UNIX command dialog does? (i.e. ready-to-use yes/no, calendar, t
When I store the data in a .wav file into a byte array, what do these values mean? I've read that they are in two-byte representations, but what exactly is contained in these two-byte values?
who can tell me what's the different between style.left and element.offsetLeft, is it same?
What is the advantage of using a memory-mapped file backed by the system paging file (through CreateFileMapping(INVALID_HANDLE_VALUE, ...), instead of just allocating memory from the heap the usual wa
Is there a way to get the path of the pdb file currently used by windbg? Either by a native command, or, preferably, using the plugin API. So, ideally I want to be able to do something like: printf(
I wonder what make menuconfig command is used for and what I can actually change by using it? Unfortunatelly I didn't find any manual/config guide in the Internet.
Heap's algorithm is a systematic way to cycle through all permutations of N elements one exchange at a time. For odd N, it's especially neat because the final permutation seems to be only one exchan
what does this stack and heap over flow exploit mean
It's possible to represent every sparse matrix by a two dimensional array. to do so, should save rows, columns and non-zero elements in it. A L-diagonal matrix ($n$ by $n$) is given, what is the bigge
Before I embark on a journey down the paths of learning ASP.NET MVC3, I wanted to try and get soem recommendations on something I know I'll run into. If I have an application with different user/produ
I would love to be able to use a regular MouseBinding to capture a CTRL-Click event on my TextBlock. Unfortunately the Command property is not a dependency property and I'm using MVVM, so I can't bind
I am trying to implement Prim's minimum spanning tree algorithm using Heaps. However, as I execute my code I get an exception, that the heap is empty. After some iterations, it says that heap is empty
In a (max) heap it is easy to find the biggest item in O(1) time, but to actually remove it you need complexity of O(log(n)). So if the insertion and deletion from a heap is both O(log(n)), what are t
We have a hexagonal latice: _ _ _ / \_/ \_/ \_ \_/ \_/ \_/ \ / \_/ \_/ \_/ \_/ \_/ \_/ What is the best way to represent it with 2-dimensional array or whatever
Is there a kind soul out there somewhere who actually knows whether or not Java's ellipsis implementation involves any Heap allocation behind the scene. It seems reasonable to me for the calling metho
I'm looking at a crash dump. Some variables seem perfectly viewable in windbg, while others just say memory access error. What causes this? Why do some variables have sensical values while others si
I found Windbg is very useful during development and debugging. but mostly i use windbg in use mode debugging. What kernel debugging can do in windbg? or When should I use windbg's kernel debugging?
I have a model which represents the user's display preferences. Just about all of these preferences are boolean values. Instead of having 50 boolean columns, is there a better way to go about this? In
I've searched, but I've not understood very well these three concepts. When do I have to use dynamic allocation (in the heap) and what's its real advantage? What are the problems of static and stack?
I am developing an app for all the available screen resolutions. My approach is to create different drawable folders and to keep respective images in them. Everything was going fine before I found a c
I am following this stackoverflow post What do the different columns in the !heap -flt -s xxxx windbg command represent I am trying to understand the information printed out for one of the heaps tha
I'm trying to do a search and replace with ssed on the following. However, it keeps giving me an unterminated s command error. Any idea what I'm doing wrong? Using zsh on OSX. > ssed -r 's/(?s).*?(
I want a google map where I can query different columns from my fusion table to display on the map when a user selects a checkbox. Google's Fusion Tables Layer Example: IN query is great if the data y
On the rvm website the installation command is: $\curl -sSL https://get.rvm.io | bash I dont know what does the leading \ do? My first thought will be escape, but I am not sure what it is escaping for
I'm getting an access violation in a program. Windbg shows that the program is trying to read at 0x09015000. It shows question marks (??) next to the address. My question is, what do these question ma
How do I represent integer array as attribute of a class in Visual Studio 2010's UML class diagrams? I know hot to add normal integers, but I'm hoping that there is a way to do it other than adding 
is there any way in WinDbg to determine since what date/time a Windows thread is blocked by functions like WaitForSingleObjects or WaitForMultipleObjects? I know how to do this in kernel debugging (us
On my x86 Linux system reading from different locations in PCI configuration space using setpci seems to give completely different answers for some registers when compared to output from lspci -xxxx.
I'm trying to better understand why the Windows Vista heap behaves the way it does. Consider the following very simple program: #include <vector> #define NUM_ALLOCS 10000000 int _tmain(int argc,
I'm pretty new to windbg ,is there such commands in windbg?
Our wcf service hosted in IIS crashes (w3wp.exe ~ 1.6 GB) as the user load increases. We have got a dump through Debug Diag and ran this command in windbg. This is the output: 0:000> !address -summ
What's the best way to design the table if the table columns are not fixed. We have XML file i.e <B4 TOD=1 PARAMCODE=P7-1-5-1-0 VALUE=1809.120 UNIT=k/> <B4 TOD=1 PARAMCODE=P7-1-6-
It's really un-usual using of sed for me. I'm used to have 's/pattern1/pattern2/g'. Can someone help me to explain it? The input string is just like the following: path1/path2/path3/fileA path1/path2
I am a rookie with PHP, what does this do ->? i tried Google and searching the forums but nothing came up. for instance, i have seen $resp->is_valid used but not sure what it does. Thanks
This might be an obvious thing to you but - even after reading through a lot of manuals and blogs - I'm still not sure what exactly should a bundle in Symfony2 represent in a webpage. And it's hard to
I am trying to send a serial command using my Arduino, but I can't find out how to replicate the Enter key. I've tried \r\n as well as \n and neither of those seem to do it. I've tried the Arduino fun
When I load a Windows process dump file from a different machine with Visual Studio (or WinDBG), it'll display lot's of messages like: (output from Visual Studio 2005) 'DumpDS20080626-103000-4204-4012
I'm wondering what's the different between new module and not new module when using RequireJs. What's the different? and which one should I use. For example I have this module define('somemodule', ,
JGraphT has a nice Fibonacci Heap class. How can I use it to implement Prim's minimum spanning tree algorithm?
For instance I have a model X with properties Title(string) and Valid(bool). I need to show same model on two separate pages with different field labels and input controls. E.g. Title for title and
What is equivalent of Linux's 'free' command on FreeBSD v8.1? I am calling 'free' from my application and reporting the results in my application's log file. What would be the replacement when porting