EHS6: storage of installed applications? | Thales IoT Developer Community
November 24, 2015 - 12:55pm, 3372 views
If this is in the documentation, it somehow seems to elude me constantly:
How much space is there for installed applications in the EHS6 module? I'm aware there's the 10MB file system to use for installing and other purposes... but where does the installed app reside after everything from the FFS has been deleted (and more importantly, what's the storage size)?
Application code and data share the space in the flash file system. However installed applications and record stores for them (if used) are stored in the hidden area which is not accessible for users. You can delete the jar and jad file from the file system after installation and the application will still be installed.
It's exactly the available size of the "hidden area" that I'm interested in, i.e. how do I figure out how much install space there's left for my own applications (and possible record stores) after the JRC (and any records it creates) has taken it's space in the hidden area?
Only the total space is fixed. There's no additional limit for hidden area.
So let me get this straight... please let me know if this is wrong:)
So basically, the capacity of 10MB of FFS is used also for the installed midlets, although they are not visible any more? So the following should happen?
a) We have, say, 10MB available on the FFS
b) I copy a .jar (and the corresponding .jad) file , size 1MB, on to the module a:/ -> I now have 9 MB free on the FFS
c) I install said .jar -> I now have 8MB free, although only 1MB of files is visible on a:/
d) I delete the .jar and .jad files from a:/, leaving the midlet installed -> I now have 9MB of FFS free.
e) I uninstall the midlet -> we're back at 10MB free on a:/
That's how it should be.