Main Site Documentation

Help me understand memory in the FezMini


I am reading the specs and it says that the device has 62k of RAM. This is RAM in which I can allocate memory, correct? For instance, I could allocate 61k string, but a 63k string would fail, correct?

It also says that there is 148k of FLASH. Does that mean my application size must be 148k or less? I am assuming that does not include the .NET framework (e.g. Microsoft.SPOT.*, System.IO, etc…), but does include FezMini.GHIElectronics.NETMF.FEZ assembly? Does data that I place in Resources also count towards this total?

Finally, when I deploy the app to the device, I see this message:

Incrementally deploying assemblies to device
Deploying assemblies for a total size of 123268 bytes

Does this mean that I have about 25k to go before problems start?



All you said is correct. You would be surprised with how much you can do with the available flash/ram. I personally never seen any application that uses all USBizi flash. For RAM, you can manage it to fit any application suited for this small device, thanks to dynamic memory allocation