4

I'm getting an OutOfMemoryException when deserializing a response about 27mb in size from the API. It is correctly deserializing DTOs that are smaller in size. Any ideas?

var resultObject = JsonConvert.DeserializeObject<T>(response.Content.ReadAsStringAsync().Result);
Juc
  • 217
  • 1
  • 3
  • 9

0 Answers0