Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Mobile
  4. Pocket PC Dataset.ReadXml OutOfMemoryException

Pocket PC Dataset.ReadXml OutOfMemoryException

Scheduled Pinned Locked Moved Mobile
xmlhelp
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Bedevian
    wrote on last edited by
    #1

    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.

    D 1 Reply Last reply
    0
    • B Bedevian

      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.

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      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

      B 1 Reply Last reply
      0
      • D Dave Kreskowiak

        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

        B Offline
        B Offline
        Bedevian
        wrote on last edited by
        #3

        the 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 ?

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups