C
C#3w ago
Unk

Garbage collector

Hello, please tell me, who knows about the "garbage collector" in C#, how to search for garbage leaks in a C# program, are there any tools for viewing references to an object in the heap, because of which the "garbage collector" does not reach and does not remove them.
9 Replies
Jimmacle
Jimmacle3w ago
to nitpick, memory leaks would actually be caused by objects the garbage collector can reach but you can use a memory profiler to do what you're looking for, like dotMemory or tools built into VS/Rider
Unknown User
Unknown User3w ago
Message Not Public
Sign In & Join Server To View
Mayor McCheese
What are you doing where you think there's a leak?
Unk
Unk3w ago
thank you
Unknown User
Unknown User3w ago
Message Not Public
Sign In & Join Server To View
Unk
Unk3w ago
I do this for self-development, and to help a friend, he said that I need to learn this topic, "memory profiler toolkit" "how to look for leaks" and how to fix them Do you have example with this work?
Unknown User
Unknown User3w ago
Message Not Public
Sign In & Join Server To View
MODiX
MODiX3w ago
Mayor McCheese
What are you doing where you think there's a leak?
Quoted by
<@689473681302224947> from #Garbage collector (click here)
React with ❌ to remove this embed.
Want results from more Discord servers?
Add your server