© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•14mo ago•
7 replies
In sprint mode (plz dnd, soz)

GC Troubles

So i have a memory leak in a console app which I'm trying to diagnose the cause of and i came across this from analysing a dotnet-gcdump.

My question, If "Inclusive Size" is the size of the object and all of its sub objects, how can this equal to 18 Exabytes when the machine its on does not have that kind of resources available to it?

When inspecting the root, it seems like it may self refence, would this be the cause and the number shown is in fact illusive?
Since a
unsigned long long
unsigned long long
max value is also 18 Exabytes? and it simply stopped once it couldn't get a number high enough?

(I'm 100% a rookie when it comes to GC stuff)
image.png
image.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

DllImport Troubles
C#CC# / help
4y ago
NativeAOT Serialization Troubles
C#CC# / help
11mo ago
✅ Troubles with looping
C#CC# / help
14mo ago