J
Jim Davis
I have an 8 MB text file that I open with a StreamReader and the call
ReadToEnd(). TaskManager shows the exe memory use jumping from 14 MB to 58
MB. How could this be when the file is only 8 MB??? This seems grossly
inefficient. The code in my test form is very simple
StreamReader sr = new StreamReader(txtPath.Text;
string buffer = sr.ReadToEnd();
sr.Close()
I would love an explanation for this.
Thanks,
Jim
ReadToEnd(). TaskManager shows the exe memory use jumping from 14 MB to 58
MB. How could this be when the file is only 8 MB??? This seems grossly
inefficient. The code in my test form is very simple
StreamReader sr = new StreamReader(txtPath.Text;
string buffer = sr.ReadToEnd();
sr.Close()
I would love an explanation for this.
Thanks,
Jim