How to create gcdump from linux core dump? (linux-arm core dump) #1785
-
I have an app on linux-arm, machine with only 512MB RAM and very small flash disk. My app is self contained, and sometimes has leaks. I don't have there dotnet-gcdump. But I have core dump from linux. Is it possible to make gcdump from coredump? So I will know what objects are leaking? I tried it with PerfView - Memory->Take Heap snapshot from Dump, but this is the result:
Is it supposed to work? linux-arm core dump on windows? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hello @michaldobrodenka! Just for your awareness, we have a tutorial on debugging memory leaks. Note that the built-in Linux coredump feature may not contain all of the data needed for investigation. We suggest collecting Linux dumps using the dotnet-dump global tool. The dump can be analyzed on the Linux machine with dotnet-dump, or the dump can be copied to Windows and analyzed directly using Visual Studio (File->Open the dump, then click on Debug Managed Memory), windbg, or the dotnet-dump tool as well. |
Beta Was this translation helpful? Give feedback.
Hello @michaldobrodenka! Just for your awareness, we have a tutorial on debugging memory leaks. Note that the built-in Linux coredump feature may not contain all of the data needed for investigation. We suggest collecting Linux dumps using the dotnet-dump global tool. The dump can be analyzed on the Linux machine with dotnet-dump, or the dump can be copied to Windows and analyzed directly using Visual Studio (File->Open the dump, then click on Debug Managed Memory), windbg, or the dotnet-dump tool as well.