Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

FileStream memory requirements


  • Please log in to reply
No replies to this topic

#1 Sukasa

Sukasa

    Advanced Member

  • Members
  • PipPipPip
  • 32 posts
  • LocationNanaimo, BC

Posted 03 June 2015 - 02:41 PM

Hi,

 

I'm working on a project that has generally left me about ~23KBytes of memory free at any given time.  Unfortunately, this seems to be just low enough that at times I will get an unspecified IOException when trying to call File.OpenRead().  Roughly how much memory does File.OpenRead() need in order to successfully open a file, and is there an alternate method that uses less memory?  I am opening the file in order to stream it into memory and then immediately out over SPI






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.