Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
End Users
Pocket PCActiveSyncMultimediaEBooksWirelessSmartPhones
Developers
Windows MobileSmartPhonesWinCE ProgrammingVB for WinCEVC++ for WinCEPlatform BuilderTest Tools
PocketPC DirectoryFree SoftwareWeb Resources
Related Topics
PalmMobile PhonesMore Topics ...

Pocket PC Forum / Developers / Windows Mobile / April 2008

Tip: Looking for answers? Try searching our database.

OutOfMemoryException

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
WD - 23 Apr 2008 02:25 GMT
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...
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.