Pocket PC Dataset.ReadXml OutOfMemoryException
-
i am trying to load a dataset from XML file, but i am getting an Error. "OutOfMemoryException" here is the code DataSet DSRead = new DataSet(); DSRead.ReadXml("\\Program Files\\Smartdeviceproject1\\output.xml"); i used the same code on windows application and its working fine.
-
i am trying to load a dataset from XML file, but i am getting an Error. "OutOfMemoryException" here is the code DataSet DSRead = new DataSet(); DSRead.ReadXml("\\Program Files\\Smartdeviceproject1\\output.xml"); i used the same code on windows application and its working fine.
How big is this file and how much RAM does the device have free before you try to load the file??
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008 -
How big is this file and how much RAM does the device have free before you try to load the file??
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008the xml file is 10 MB that's why i was getting an Error OutOfMemoryException, i used Emulator Properties Dialog Box, to increase memeory size from 128 to 256. the original xml file is around 27 MB, i can't copy it to the emulator, how can i increase the space in the emulator, i add Flash Memory File in the Emulator Properties Dialog Box. but i still can't copy it. i guess it's read only ?