Click here to Skip to main content
15,890,512 members
Home / Discussions / C#
   

C#

 
GeneralRe: FileSystemWatcher and Threading Pin
JoeRip19-Dec-07 17:45
JoeRip19-Dec-07 17:45 
GeneralRe: FileSystemWatcher and Threading Pin
#realJSOP19-Dec-07 23:20
mve#realJSOP19-Dec-07 23:20 
GeneralRe: FileSystemWatcher and Threading Pin
JoeRip20-Dec-07 1:40
JoeRip20-Dec-07 1:40 
GeneralRe: FileSystemWatcher and Threading Pin
#realJSOP20-Dec-07 2:37
mve#realJSOP20-Dec-07 2:37 
GeneralRe: FileSystemWatcher and Threading Pin
JoeRip20-Dec-07 1:42
JoeRip20-Dec-07 1:42 
GeneralProblems with CSV file blowing out memory Pin
LongRange.Shooter19-Dec-07 11:05
LongRange.Shooter19-Dec-07 11:05 
GeneralRe: Problems with CSV file blowing out memory Pin
Ed.Poore19-Dec-07 11:19
Ed.Poore19-Dec-07 11:19 
GeneralRe: Problems with CSV file blowing out memory Pin
LongRange.Shooter19-Dec-07 13:53
LongRange.Shooter19-Dec-07 13:53 
Well, believe it or not your question solved my problem. I added a try{}catch{} and found that the buffer exceeded 256MEG in size. Much larger than any record in the file could possibly be. So I traced the characters and found that it only contained a \n by itself at the end of each line.

Found many other inconsistancies in the file (like quoted numbers) but the application is now processing the file without exceeding memory!

Thanks for the help.

Michael
GeneralRe: Problems with CSV file blowing out memory Pin
Skippums19-Dec-07 12:39
Skippums19-Dec-07 12:39 
Generalrandom files with different date Pin
Shani Aulakh19-Dec-07 9:09
Shani Aulakh19-Dec-07 9:09 
GeneralRe: random files with different date Pin
pmarfleet19-Dec-07 9:20
pmarfleet19-Dec-07 9:20 
GeneralRe: random files with different date Pin
Anthony Mushrow19-Dec-07 9:48
professionalAnthony Mushrow19-Dec-07 9:48 
GeneralRe: random files with different date Pin
pmarfleet19-Dec-07 9:58
pmarfleet19-Dec-07 9:58 
GeneralRe: random files with different date Pin
Shani Aulakh19-Dec-07 17:50
Shani Aulakh19-Dec-07 17:50 
GeneralRe: random files with different date Pin
Dave Kreskowiak20-Dec-07 8:57
mveDave Kreskowiak20-Dec-07 8:57 
GeneralRe: random files with different date Pin
pmarfleet20-Dec-07 9:14
pmarfleet20-Dec-07 9:14 
GeneralRe: random files with different date Pin
Dave Kreskowiak20-Dec-07 15:56
mveDave Kreskowiak20-Dec-07 15:56 
GeneralRe: random files with different date Pin
pmarfleet20-Dec-07 21:16
pmarfleet20-Dec-07 21:16 
GeneralWCF ASMX Web Service Client with HTTP Compression woes Pin
martin_hughes19-Dec-07 9:03
martin_hughes19-Dec-07 9:03 
GeneralReg:Change Text on DataGridViewLinkColumn Pin
P.T.R.K19-Dec-07 8:37
P.T.R.K19-Dec-07 8:37 
GeneralSimple File Counting Pin
ffowler19-Dec-07 8:20
ffowler19-Dec-07 8:20 
GeneralRe: Simple File Counting Pin
Giorgi Dalakishvili19-Dec-07 8:24
mentorGiorgi Dalakishvili19-Dec-07 8:24 
GeneralRe: Simple File Counting Pin
Jimmanuel19-Dec-07 8:24
Jimmanuel19-Dec-07 8:24 
GeneralRe: Simple File Counting Pin
ffowler19-Dec-07 8:26
ffowler19-Dec-07 8:26 
GeneralListView Pin
half-life19-Dec-07 7:30
half-life19-Dec-07 7:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.