1

Closed

JObject.Parse out of memory exception

description

When using JObject.Parse in a loop with large data i'm getting out of memory exception.

so i have changed :
JsonReader reader = new JsonTextReader(new StringReader(json));
to
using(JsonReader reader = new JsonTextReader(new StringReader(json)))

and it solved my problem.
Closed Dec 20, 2013 at 5:51 AM by JamesNK
Done

comments