dotnet / dotnet/diagnostics

dotnet-gcdump should trigger warning if the heap size is huge

Open
#723 0 comments 0 reactions 1 assignee Claimed by @josalem View on GitHub
dotnet-gcdump enhancement
Dominant language
C++
Stars
1.3k
Forks
404
Avg merge
2d 5h
Merged PRs (30d)
35

Description

Triggering a GC dump on a process with a huge heap (i.e. hundreds of GB) can potentially kill the service for minutes because it forces a full GC on the target process. We should probably show some warning message in case dotnet-gcdump is about to kill the target process by doing this.

An even better solution would be to see the GC heap size of the target app (prob. through EventCounter?) and then if it's above certain threshold, display the warning message and make sure the user knows what this is going to do to the target application.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.