How do I free memory? #172
Unanswered
yunhyejoung
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
How do I free memory?
using Sylvan.Data;
using Sylvan.Data.Csv;
using System.Linq;
using var dr = CsvDataReader.Create("data.csv");
IEnumerable records = dr.GetRecords();
IDataReader dr = records.AsDataReader().AsDbDataReader();
while( dr.Read() ) //<===== have to do dr.Read()
{
.............
}
Beta Was this translation helpful? Give feedback.
All reactions