Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/seungyongshim/net-framework-leak-windbg-sample
https://github.com/seungyongshim/net-framework-leak-windbg-sample
memoryleak net-framework windbg
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/seungyongshim/net-framework-leak-windbg-sample
- Owner: seungyongshim
- License: gpl-3.0
- Created: 2021-07-10T23:24:23.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-16T20:08:19.000Z (about 2 years ago)
- Last Synced: 2024-04-28T03:51:44.354Z (9 months ago)
- Topics: memoryleak, net-framework, windbg
- Language: C#
- Homepage:
- Size: 1.41 MB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# C\# 메모리릭 찾기 \(.NET Framework\)
* 프로세스 덤프
![](.gitbook/assets/image%20%281%29%20%281%29%20%281%29.png)
* 덤프 파일 복사
![](.gitbook/assets/image.png)
![](.gitbook/assets/image%20%282%29.png)
* Windbg Preview 설치
![](.gitbook/assets/image%20%283%29.png)
* WinDbg 실행
* dump 파일 열기![](.gitbook/assets/image%20%284%29.png)
![](.gitbook/assets/image%20%285%29.png)
* !analyze -v
* 시간이 걸립니다.![](.gitbook/assets/image%20%287%29.png)
* !dumpheap -stat
* 관리되는 힙을 출력합니다.
* 메모리가 많이 소요되는 object type을 찾습니다.![](.gitbook/assets/image%20%286%29.png)
* !dumpheap /d -mt 00007ffe9a0159c0
* object가 관리되는 heap에 할당된 주소를 가져옵니다.![](.gitbook/assets/image%20%281%29.png)
* !gcroot 000000002e7510a0
* 해당 object를 참조하는 object를 표시합니다.
* 객체 할당과 연관된 class를 추론할 수 있습니다.![](.gitbook/assets/image%20%288%29.png)