Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Posts: 34
Registered: ‎10-27-2010
My Device: Not Specified

File system access and speed

Are there any best practices as far as writing and reading text files to the file system?  In the simulators it works fine but when I test on an actual BB (currently a 8530 w/ v5.0.0.601) it seems like everything takes way longer.  Is there a speed difference between the store and the SDCard?  Does making multiple concurrent saves and/or reads compound performance issues?  





Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: File system access and speed

From what I understand saving to/from the SD Card is faster than "store".  "store" is a Java emulated file system on flash where the SD Card is a direct file system access.


I haven't seen multiple concurrent saves compounding performance issues unless there would be a lot of them. After a while there would be garbage collection that would have to be performed.

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter