I have created an application that reads CSV
files, creates a DataServiceContext
and mass inserts the data to my remote OData
API server.
However 5 minutes after running an import of 30,000
records, I found that the application was still using 750MB of memory!
Is there anything I should do to reduce the memory usage? Or at least make it garbage collect earlier? It doesn't seem to implement IDisposable
, and my google-fu has failed me. Thanks.