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...

Signature
WD
dbgrick - 23 Apr 2008 15:52 GMT
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.
> This is a long shot, but i was wondering if there was anything that i could
> do to avoid an OutofMemory Exception.
[quoted text clipped - 3 lines]
> 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...