Home
Options

Turn of Object tracking or clear cache

I'm using LINQPad 5 and the IQDriver against mysql. I'm iterating in small chunks over 20 million rows and memory is steadily increasing as I read rows. I expect the cache is storing every row I read from the database. Is there a way to clear the cache or get a fresh datacontext?

I've seen posts on ObjectTrackingEnabled = false; but this does not compile. I'm guessing it might be the driver that I'm using, but I'm not sure.

I've posted some more details on stack overflow (http://stackoverflow.com/questions/33024082/working-with-large-data-sets-in-linqpad)?
Sign In or Register to comment.