Share via

.NET Core Memory Dump Analyze

Anonymous
2021-07-27T15:26:37.037+00:00

Hi All,

I spent last couple of days to figure out following information, but still I am struggling.

1008288 System.Collections.Generic.Dictionary`2+Entry[[System.String, System.Private.CoreLib],[Newtonsoft.Json.Linq.JToken, Newtonsoft.Json]][]
1103240 System.Int32[]
1657760 System.Reflection.RuntimeMethodInfo
1920384 Newtonsoft.Json.Linq.JValue
2174907 System.Byte[]
3120520 Newtonsoft.Json.Linq.JProperty
3601890 System.String

  1. Is there have way to dispose Newtonsoft.Json.Linq.JProperty and Newtonsoft.Json.Linq.JValue and clean from the memory
  2. How to clean System.Collections.Generic.Dictionary from memory even if they have unmanage data?

Finally to clean above objects is there have way to implement in centralize way.

I am using .NET 5.0

Please advice me.

Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.