02 2023 档案
Creating double-precision integer multiplication with a quad-precision result from single-precision multiplication with a double-precision result
摘要:Creating double-precision integer multiplication with a quad-precision result from single-precision multiplication with a double-precision result Raym
阅读全文
WinDbg : An Introduction To Windows Heaps
摘要:WinDbg : An Introduction To Windows Heaps Heaps are used by applications which need to allocate and release memory dynamically. Even though the heap i
阅读全文
WinDbg : Parsing Arrays In the Debugger
摘要:Many a times data structs like arrays need parsing in windbg. These don't lend themselves as well as the LIST_ENTRY based structs do, because the debu
阅读全文
Understand C++ vtable from assembly code
摘要:Understand C++ vtable from assembly code (part 1) A glance at vtable implementation For simplicity, part 1 only discusses how vtable works with single
阅读全文
Windbg: going from vftable to c++ class
摘要:Windbg: going from vftable to c++ class As part of an assignment, I am delving into the world of Internet Explorer, and am trying to figure out exactl
阅读全文
Managed memory leaks in .NET (Event handler)
摘要:Managed memory leaks in .NET On April 12, 2022 By Artem Razin In Uncategorized Managed memory leaks in C# Contents Managed Memory Leak – the definitio
阅读全文
Memory leaks detection in a Windows Service written in C++
摘要:Memory leaks detection in a Windows Service written in C++ On January 25, 2020 By Artem Razin In Uncategorized Introduction This article will demonstr
阅读全文
Deleaker is ready for Visual Studio 2022!
摘要:Deleaker is ready for Visual Studio 2022! On November 3, 2021 By Artem Razin In Uncategorized Since Microsoft announced the first preview of Visual St
阅读全文
Unmanaged memory leaks in .NET(ust)
摘要:Unmanaged memory leaks in .NET On March 19, 2021 By Artem Razin In Uncategorized Unmanaged memory leaks in C# Contents Why do unmanaged memory leaks h
阅读全文
How to fix memory leaks in C/C++ using WinDbg(+ust)
摘要:How to fix memory leaks in C/C++ using WinDbg On May 30, 2021 By Artem Razin In Uncategorized Contents Introduction Examples of memory leaks The commo
阅读全文
如何在VC++ 6.0中实现拖动指令改变执行路径 (指令飞越)?
摘要:前文提要: 在VC6.0之后出现的VS系列开发工具都具有的调试功能:移动指针更改执行流,VC6不支持这个UI操作。 调试程序暂停时,源代码或“反汇编”窗口边距处的黄色箭头标记要运行的下一条语句的位置。 你可以通过移动此箭头来更改要运行的下一条语句。 你可以跳过代码,或者返回上一行。 在某些情况下移动
阅读全文
How to Configure Symbols in Sysinternals' Process Explorer
摘要:set _NT_SYMBOL_PATH = srv*F:\Yangl\DebuggingPaths\dbg*http://msdl.microsoft.com/download/symbols;set _NT_SOURCE_PATH = p1;p2; Summary of Steps Needed
阅读全文
Sharing assemblies between w3wp processes for reduce memory usage
摘要:Problem We are publishing a lot of microservices on one machine, i.e.: 30 instances and every one use 150 – 300 mb. A lot of microservices use the sam
阅读全文
Monitoring Performance Using WMI
摘要:Learn Previous Versions Windows Scripting Scripting Clinic How's My Driving? Monitoring Performance Using WMI Article 06/30/2006 31 minutes to read Gr
阅读全文
WMI Scripting Primer
摘要:WMI Scripting Primer: Part 1 Article 06/30/2006 25 minutes to read Greg Stemp, Dean Tsaltas, and Bob WellsMicrosoft Corporation Ethan WilanskyNetwork
阅读全文
How to find what is in unmanaged memory in Dump by WinDBG? (ust) Marshal.AllocHGlobal(1024 * 1024 * 1024 ) virtualalloc
摘要:How to find what is in unmanaged memory in Dump by WinDBG I run for Dump File in WinDbg command !address -summary I results are something like this Ho
阅读全文
Public and Private Symbols
摘要:Public and Private Symbols When a full-sized .pdb or .dbg symbol file is built by a linker, it contains two distinct collections of information: the p
阅读全文
Windbg下追寻MFC程序抛CDBException异常回忆录 [!sym noisy .reload /f /i xxx.dll]
摘要:某正在运行的程序突然抛出异常,我们直接上Windbg查看异常记录,.exr -1;!gle;结果并没有相关信息,异常被截获后并没有抛出来,这个错误对话不是系统的而是本身程序代码弹出的。 kp查看UI线程调用栈 0:000> kp # ChildEBP RetAddr 00 00197eac 7713
阅读全文
使用Visual Studio 自带的诊断工具(Diagnostic Tools)诊断程序的内存问题
摘要:使用vs2017自带的诊断工具(Diagnostic Tools)诊断程序的内存问题 前言 一般来说.NET程序员是不用担心内存分配释放问题的,因为有垃圾收集器(GC)会自动帮你处理。但是GC只能收集那些不再使用的内存(根据对象是否被其它活动的对象所引用)来确定。所以如果代码编写不当的话,仍然会出现
阅读全文
An attempt to set a process's DebugPort or ExceptionPort was made
摘要:How to resolve "Cannot debug pid , NTSTATUS 0xC0000048" - "An attempt to set a process's DebugPort or ExceptionPort was made ..." 2011/10/21 Once I fo
阅读全文
windbg排查非托管内存泄漏的过程
摘要:记一次使用windbg排查内存泄漏的过程 一、背景 近期有一个项目在运行当中出现一些问题,程序顺利启动,但是观察一阵子后发现内存使用总量在很缓慢地升高, 虽然偶尔还会往下降一些,但是总体还是不断上升;内存运行6个小时候从33M上升到80M; 程序存在内存泄漏是确定无疑的了,大概出问题的方向也知道,就
阅读全文
CtrlList 虚拟列表加载技术
摘要:虚拟列表控件 虚拟列表控件是具有 LVS_OWNERDATA 样式的列表视图控件。 此样式使控件能够支持最多为 DWORD 的项计数(默认项计数仅扩展到 int)。 但是,此样式具有的最大优势是,允许内存中任何时候都只有一部分数据项。 这样,虚拟列表视图控件就可以与大型信息数据库一起使用,而这些数据
阅读全文
Fill a List with Large Amount of Data
摘要:Fill a List with Large Amount of Data 2013.02.06 by Ovidiu Cucu In my opinion, making database queries in separate threads in order to avoid UI blocki
阅读全文
Javascript XHR Download
摘要:https://codexpert.ro/blog/2013/11/04/fill-a-list-with-large-amount-of-data-part-2/ <a class="download-link" title="Version 1 " href="https://codexpert
阅读全文
.NET内存性能分析指南
摘要:.NET内存性能分析指南 知道什么时候该担心,以及在需要担心的时候该怎么做 本文档的目的 本文旨在帮助 .NET 开发者,如何思考内存性能分析,并在需要时找到正确的方法来进行这种分析。本文中的 .NET 包括 .NET Framework 和 .NET Core。为了在垃圾收集器和框架的其他部分获得
阅读全文
使用消息组件(MSMQ)
摘要:使用消息组件 2008年08月18日 本文内容 本节内容 相关章节 --> 更新:2007 年 11 月 使用 MessageQueue 组件,可以在应用程序中内置复杂的消息处理功能。使用 MessageQueue 组件的实例,可以在网络中轻松地向/从任何队列发送/接收消息。 XML Web ser
阅读全文
The Dangers of the Large Object Heap
该文被密码保护。
How does the GC work and what are the sizes of the different generations?
摘要:How does the GC work and what are the sizes of the different generations? April 17, 2008 16 minute read During our ASP.NET debugging chat there were m
阅读全文
.NET Memory: My object is not rooted, why wasn’t it garbage collected? [GC.Collect(3)]
摘要:.NET Memory: My object is not rooted, why wasn’t it garbage collected? February 2, 2006 4 minute read I got a comment on one of the posts asking this
阅读全文
.NET Debugging Demos Lab 4: High CPU hang - Walkthrough
摘要:Tess Ferrandez Principal Software Engineer at Microsoft. Solving the problems of the world with a debugger, a sprinkle of ML and a bag of chips Twitte
阅读全文
The IIS 6.0 Resource Guide tools
摘要:获取dump 1. 打开一个命令行窗口,并切换到debugger tools的安装目录。输入以下命令,但请注意,不要立即按enter。 Adplus –hang –pn w3wp.exe –quiet 2. 重新打开一个命令行窗口,同样切换到debugger tools目录,使用tinyget脚本来
阅读全文
CLR Inside Out Large Object Heap Uncovered ,IIS ASP.Net 1.1
摘要:CLR Inside Out Large Object Heap Uncovered Maoni Stephens Contents The Large Object Heap and the GCWhen a Large Object Gets CollectedLOH Performance I
阅读全文
Why is address space allocation granularity 64KB?
摘要:Why is address space allocation granularity 64KB? Raymond Chen October 8th, 20030 0 You may have wondered why VirtualAlloc allocates memory at 64KB bo
阅读全文
GFlags
摘要:GFlags GFlags(全局标志编辑器)启用和禁用高级调试、诊断和故障排除功能。 它最常用于打开其他工具跟踪、计数和记录的指示器。 在何处获取 GFlags GFlags 包含在适用于 Windows 10 (WinDbg) 的调试工具中。 安装调试工具后,默认在以下目录中安装 64 位版本的
阅读全文
Win32内存管理
摘要:Learn Windows “应用” Win32 桌面技术 系统服务 内存管理 关于内存管理 2022/09/22 32 位 Microsoft Windows上的每个进程都有其自己的虚拟地址空间,可实现高达 4 GB 内存的寻址。 64 位Windows的每个进程都有 8 TB 的虚拟地址空间。
阅读全文
Dockerize ASP Classic on IIS
摘要:Dockerize ASP Classic on IIS Ask Question Asked 4 years, 1 month ago Active 9 months ago Viewed 9k times 22 16 Microsoft has been investing in running
阅读全文
你真的了解:IIS连接数、IIS并发连接数、IIS最大并发工作线程数、应用程序池的队列长度、应用程序池的...
摘要:你真的了解:IIS连接数、IIS并发连接数、IIS最大并发工作线程数、应用程序池的队列长度、应用程序池的... IIS连接数 一般购买过虚拟主机的朋友都熟悉购买时,会限制IIS连接数,这边先从普通不懂代码用户角度理解IIS连接数 顾名思义即为IIS服务器可以同时容纳客户请求的最高连接数,准确的说应该
阅读全文
How do Managed Breakpoints work?
摘要:Learn Blog Archive Mike Stall's .NET Debugging Blog How do Managed Breakpoints work? 项目 2004/12/28 8 分钟可看完 In this blog entry, I’ll explain how settin
阅读全文
There is insufficient system memory in resource pool 'default' to run this query.
摘要:资源池‘ default’ 没有足够的系统内存来运行此查询 There is insufficient system memory in resource pool 'default' to run this query. on sql Ask Question Asked 8 years, 6 m
阅读全文
Asp.net: sometimes OutOfMemoryException when many w3wp processes run.[pagefile problem]
摘要:Asp.net: sometimes OutOfMemoryException when many w3wp processes run Ask Question Asked 4 years, 11 months ago Modified 4 years, 11 months ago I have
阅读全文
Troubleshooting native memory leak in an IIS 7.x Application Pool [DebugDiag]
摘要:Troubleshooting native memory leak in an IIS 7.x Application Pool Article 08/24/2022 8 minutes to read by Apurva Joshi Tools Used in this Troubleshoot
阅读全文
Troubleshoot Out of Memory issues In ASP.Net 1.1
摘要:Learn Troubleshoot Web Apps ASP.NET Troubleshoot Out of Memory issues (System.OutOfMemoryException) in ASP.NET Article 01/25/2022 7 minutes to read Th
阅读全文
IIS7.5 .Net OutOfMemoryException (x64 to x86) [pagefile]
摘要:IIS7.5 App Pool recycles - .Net OutOfMemoryException Viewed 15k times strange situation with .Net OutOfMemoryExceptions in IIS / Windows 2008 R2 being
阅读全文
工作线程基类,静默安装
摘要:#if !defined(AFX_BASEWORKTHREAD_H__D104C15C_8BCD_475B_91C4_4960EBE866A4__INCLUDED_) #define AFX_BASEWORKTHREAD_H__D104C15C_8BCD_475B_91C4_4960EBE866A4
阅读全文
.NET Framework 中的性能计数器 监视器
摘要:- Windows性能查看器:系统的性能信息(I/O,IIS最大连接数,Sql) ,以及解决 asp.net IIS 一二百多用户并发 long gcMem = GC.GetTotalMemory(true); int pid = Process.GetCurrentProcess().Id; lo
阅读全文
User breakpoint called from code at 7795f0f6
摘要:根本原因: 在gdyj.dll中,估计是dllmain函数里执行的代码触发了某些异常,它是在程序启动之前就运行导至VS调试也启动不来了。 0:000> ba r 2 0x7795f0f6 0:000> bl 0 e Disable Clear 7795f0f6 r 2 0001 (0001) 0:*
阅读全文
线程的默认堆栈大小
摘要:在本机 IIS 进程中创建线程的默认最大堆栈大小为 256 KB 2021/08/14 本文介绍了由本机应用程序 IIS Microsoft Internet Information Services (创建线程的默认最大) 大小。 原始产品版本: Internet Information Serv
阅读全文
Debugger data model, Javascript & x64 exception handling
摘要:Debugger data model, Javascript & x64 exception handling Date Fri 01 December 2017 By Axel "0vercl0k" Souchet Category debugging Tags debugging javasc
阅读全文
WinDbg Cheatsheet
摘要:WinDbg cheatsheet Did you know you can mark things in WinDbg in different colors to keep track of repeated values? I find it super useful when debuggi
阅读全文
Looking at the finalization queue
摘要:Learn Blog Archive ASP.NET Debugging ASP.NET Tips: Looking at the finalization queue 2008/04/28 3 分钟可看完 So in a previous post, we talked about Underst
阅读全文
x64协定与 栈回溯原理(PE32+)
摘要:x64 调用约定 本部分介绍 x64 代码中一个函数(调用方)调用另一个函数(被调用方)的标准流程和约定。 调用约定默认值默认情况下,x64 应用程序二进制接口 (ABI) 使用四寄存器 fast-call 调用约定。 系统在调用堆栈上分配空间作为影子存储,供被调用方保存这些寄存器。 函数调用的参数
阅读全文
.Net 64 位应用程序系统说明
摘要:.Net 64 位应用程序 编译应用程序时,您可以将其指定为在 Windows 64 位操作系统上作为本机应用程序或在 WOW64(Windows 64 位下的 Windows 32 位)下运行。 WOW64 是一种兼容性环境,它使 32 位应用能够在 64 位系统上运行。 WOW64 包括在所有
阅读全文
Challenges of Debugging Optimized x64 Code
摘要:Learn Blog Archive Ntdebugging Blog 使用英语阅读保存 Challenges of Debugging Optimized x64 Code 项目 2009/01/09 23 分钟可看完 If you have not had the luxury of debug
阅读全文
How can I determine if a Win32 thread has terminated?
摘要:How can I determine if a Win32 thread has terminated? Ask Question Asked 14 years, 2 months ago How can I determine if a Win32 thread has terminated?
阅读全文
关于“UI线程” GUI(转)
摘要:在KTHREAD中,有几个成员是专门负责记录线程的栈的信息的。如StackBase内核态栈的栈基址,StackLimit内核态栈栈边界,LargeStack是否是大内核栈等,其中我们需要关注的是LargeStack。当线程刚被创建时,所有线程都不是GUI线程,只有当线程使用Windows子系统内核服
阅读全文
What does kb show for 64 bit processes?
摘要:Home Space What does kb show for 64 bit processes? I have recently made a mistake analyzing a callstack, because I didn't expect the application to be
阅读全文
Enabling Postmortem Debugging
摘要:Enabling Postmortem Debugging User Mode Exception Handling Exceptions and Breakpoints The most common application errors are called exceptions. These
阅读全文
Viewing the Call Stack in WinDbg, And FPO
摘要:Viewing the Call Stack in WinDbg The call stack is the chain of function calls that have led to the current location of the program counter. The top f
阅读全文
深入理解Windows X64调试
摘要:void func(int Param1, int Param2) { int var1, var2; // stack memory layout at this point // [RSP] = var1 (DWORD) // [RSP+0x4] = var2 (DWORD) // [RSP+0
阅读全文
Windbg finalizequeue
摘要:Pick a few and find out where they are rooted (i.e. why they can’t be collected) Note: You may want to try a couple different ones. !gcroot <address o
阅读全文
浙公网安备 33010602011771号