|
From: WD on 22 Apr 2008 21:25 This is a long shot, but i was wondering if there was anything that i could do to avoid an OutofMemory Exception. I have written a program that runs on a pda which reads in a csv file and stores it into a datatable object (which can be searched through). At the moment i can only read in a file with 8000 lines. I'd like to increase this to 20,000 but can't as i get the OutOfMemoryException... -- WD
From: dbgrick on 23 Apr 2008 10:52 Try reading a smaller number of lines at a time and perform the database update. Just put your file read in a loop until eof is reached. Regards, Rick D. "WD" wrote: > This is a long shot, but i was wondering if there was anything that i could > do to avoid an OutofMemory Exception. > > I have written a program that runs on a pda which reads in a csv file and > stores it into a datatable object (which can be searched through). At the > moment i can only read in a file with 8000 lines. I'd like to increase this > to 20,000 but can't as i get the OutOfMemoryException... > > -- > WD
|
Pages: 1 Prev: Debugging WiFi device with AS4.5 Next: rearrange SIP list |