|
-
April 8th, 2008, 07:43 AM
#1
[RESOLVED] 'System.OutOfMemoryException'
Hi All,
i am getting 'System.OutOfMemoryException' while executing code below
StreamReader readerFile = new StreamReader(sReadResultPath, System.Text.Encoding.UTF8);
stringFile= readerFile.ReadToEnd()
file is of big size it is of 250 MB , is there any wayaround to read it quickly, than i have to replace certian strings in it like
stringReplaced = stringFile.Replace("<", "<");
stringReplaced = stringReplaced.Replace(">", ">");
thanks in advance.
best regards,
Mansoor.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|