I'm trying to determine where some specific memory utilization is coming from. I use Json all throughout the code base, when looking at the Managed Memory profiler in Visual Studio 2017, I see Newtonsoft.Json.Serialization.JsonProperty is the largest memory consumer. How do I determine which code is causing the consumption?
Asked
Active
Viewed 401 times
0
-
4Largest memory consumer doesn't necessarily mean that it is leaking. How did you determine you have a leak in the first place? – Brian Rasmussen Nov 16 '18 at 07:31
-
You're right - it's not necessarily a memory leak, would changing the question to 'how to find unexpected memory consumer' be more appropriate? – ScottFoster1000 Nov 16 '18 at 08:17
-
Related: [Does Json.NET cache types' serialization information?](https://stackoverflow.com/q/33557737/3744182). – dbc Nov 16 '18 at 08:29