Diagnosing memory leaks in .NET apps

  Рет қаралды 36,706

dotnet

dotnet

Күн бұрын

Пікірлер: 22
@niezebenmansour3736
@niezebenmansour3736 9 ай бұрын
Very helpful ! very happy to see diagnosing memory leaks subject in action into the .NET community
@AKW91
@AKW91 6 ай бұрын
The most common managed code memory leaks I had the pleasure to locate were almost always objects which had a method registered to a static event. For some reason a lot of developer think, that these are weakly referenced. By now I know what to search for, but since these are also often some kind of lambda expression, their origin is often very difficult to locate.
@tokenoftime8599
@tokenoftime8599 Жыл бұрын
Excellent video! Very informative and well presented. We need more showcases of this type of tool.
@rohit16db
@rohit16db 3 жыл бұрын
Very good explanation, thank you so much for this. One question, you talked about gcroot command in video position 32.31 but i can't see that commend, can you explain what command you typed to get the location in actual source code?
@lukejkw
@lukejkw 2 жыл бұрын
I've never heard 2 guys so open about when they take a dump
@expertreviews1112
@expertreviews1112 2 жыл бұрын
This was such an incredibly informative video.. thanks a LOT
@GuilhermeCardoso-td8qu
@GuilhermeCardoso-td8qu Жыл бұрын
By any chance you got an update about the OutOfMemoryException not tearing down process?
@mnbvcggg
@mnbvcggg Жыл бұрын
Great video. How can we get a creation stack trace. Which method created the instance. Thanks!
@emanuelporemba1640
@emanuelporemba1640 3 жыл бұрын
Is the GC aware of constructions like object A is holding a ref to object B and B is holding a reference to A, but no one else references A or B. Would it collect those objects at some point or not?
@taishi-sama-tfc
@taishi-sama-tfc 2 жыл бұрын
Yes, it's one of the tasks of GC to clean up cyclic references. In .NET this done by creating a graph that contains all the objects that are reachable from the roots(static fields, local variables on a thread's stack, CPU registers, GC handles and etc.) and releasing all memory allocated for objects, unreachable from the application's roots.
@eclipsetutorialvideo
@eclipsetutorialvideo 2 жыл бұрын
Useless if you don't use the enterprise VS :( we don't have debug managed memory option when we open the dump file
@NiklasLord
@NiklasLord 2 жыл бұрын
I noticed that too. You can use dotnet-gcdump instead and open that in VS. Should be the same commands etc just add the gc part.
@judew-devmon
@judew-devmon Жыл бұрын
Very good. Thanks
@elghali6687
@elghali6687 Жыл бұрын
Very helpful thank you
@CrivatFlorin
@CrivatFlorin 2 жыл бұрын
I have VS 2022 Community and I cannot find Actions > Debug managed memory after I open the dump file. Is it available for my version of VS?
@the-best-animal
@the-best-animal Жыл бұрын
Only in Enterprise it seems.
@prasannachoudhari8552
@prasannachoudhari8552 3 жыл бұрын
I could help but laugh at 16:31 😂 r/nocontext
@vincidixit
@vincidixit 3 жыл бұрын
😂
@prasannachoudhari8552
@prasannachoudhari8552 3 жыл бұрын
@@vincidixit 😬
@w32crazydev
@w32crazydev Жыл бұрын
its cool that it works on windows but on my macos i have wierd behavior.. so running clrstack gives something like failed to find runtime module (libcoreclr.dylib). thats on .net 6.0 app build with rider using the arm sdk
Using SignalR in your Blazor applications
30:20
dotnet
Рет қаралды 15 М.
Diagnosing thread pool exhaustion issues in .NET Core apps
23:57
I thought one thing and the truth is something else 😂
00:34
عائلة ابو رعد Abo Raad family
Рет қаралды 9 МЛН
Noodles Eating Challenge, So Magical! So Much Fun#Funnyfamily #Partygames #Funny
00:33
كم بصير عمركم عام ٢٠٢٥😍 #shorts #hasanandnour
00:27
hasan and nour shorts
Рет қаралды 11 МЛН
Finding MEMORY LEAKS in C# .NET Applications
10:10
tutorialsEU - C#
Рет қаралды 31 М.
Diagnose Memory Leaks in .NET Applications with WinDbg
8:54
Adam Driscoll
Рет қаралды 4,8 М.
Writing C# without allocating ANY memory
19:36
Nick Chapsas
Рет қаралды 152 М.
Performance Profiling | .NET Object Allocation Tracking Tool
32:28
Microsoft Visual Studio
Рет қаралды 16 М.
"Highly Technical Talk" with Hanselman and Toub | BRK194
46:11
Microsoft Developer
Рет қаралды 43 М.
Where are types allocated in .NET and why people get it so wrong
14:35
.NET and C# are in trouble. Here is what I'd do.
10:57
Ed Andersen
Рет қаралды 106 М.
I thought one thing and the truth is something else 😂
00:34
عائلة ابو رعد Abo Raad family
Рет қаралды 9 МЛН