BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 04-02-2009, 04:34 AM   #1
rachnakhokhar
Knows Where the Search Button Is
 
Join Date: Mar 2009
Model: 8100
PIN: N/A
Carrier: Airtel
Posts: 16
Post Persistent Data Storage

Please Login to Remove!

Hello Everyone,

I have few questions related to persistent data storage in blackberry, please share ur knowledge i really need it.

1.Firstly i want to know that using which data storage option is more efficient
(a) PersistentStore
(b) FileConnection
(c) RecordStore

2.Then i want to know if i use PersistentStore then how much of maximum memory is available for me to cache my data.

3.Then i want to know that what is the type of file (i.e. its extension) when i create a PersistentObject and where its actually created in Research In Motion, i mean i want to know the location of the file being created.

For ex:- if i create a record store in j2me then its extension is .rms and the recordstore gets created in the appdb folder of particular emulator.


Thanks in advance

Regards
Rachna Khokhar
Offline  
Old 04-02-2009, 08:58 AM   #2
pravin
Knows Where the Search Button Is
 
pravin's Avatar
 
Join Date: Feb 2008
Model: 8130
PIN: N/A
Carrier: Sprint
Posts: 37
Default

As for my knowledge the order of efficiency -

a. Persistent - Up to your device flash memory
b. RMS - 1 RS 64KB, number of RS up to your device memory.
c. FileConnection - Device memory including card memory.

Do not know about file type extension.
Offline  
Old 04-05-2009, 03:46 PM   #3
JasonSamfield
Thumbs Must Hurt
 
Join Date: Mar 2009
Location: San Marcos, TX, USA
Model: 9530
OS: 4.7.0.75
PIN: 3053D7B3
Carrier: Verizon
Posts: 165
Default

so 1 record store is 64 kb and that is only limited by the device memory? so on the 9530 storm that would be the full 1 GB?
Offline  
Old 04-06-2009, 06:24 AM   #4
pravin
Knows Where the Search Button Is
 
pravin's Avatar
 
Join Date: Feb 2008
Model: 8130
PIN: N/A
Carrier: Sprint
Posts: 37
Default

I think it will clear more
Livelink - Redirection
Offline  
Old 04-07-2009, 11:59 AM   #5
JasonSamfield
Thumbs Must Hurt
 
Join Date: Mar 2009
Location: San Marcos, TX, USA
Model: 9530
OS: 4.7.0.75
PIN: 3053D7B3
Carrier: Verizon
Posts: 165
Default

well, what exactly is considered "device memory" for the 9530 with respect to the record store? i guess that is my question...my understanding would be that it includes the 1 GB, but maybe i am wrong about that?
Offline  
Old 04-08-2009, 04:20 AM   #6
pravin
Knows Where the Search Button Is
 
pravin's Avatar
 
Join Date: Feb 2008
Model: 8130
PIN: N/A
Carrier: Sprint
Posts: 37
Default

device memory means flash memory of device you can get it by
System.out.println("FreeFlash: "+(Memory.getFlashFree()/1024)+" KB");

For RAM
System.out.println("FreeRAM: "+(Memory.getRAMStats().getFree()/1024)+" KB");
Offline  
Old 04-08-2009, 08:52 PM   #7
JasonSamfield
Thumbs Must Hurt
 
Join Date: Mar 2009
Location: San Marcos, TX, USA
Model: 9530
OS: 4.7.0.75
PIN: 3053D7B3
Carrier: Verizon
Posts: 165
Default

i will try this when i make my advanced task manager with a process viewer for the BlackBerry

seems that many terms are getting tossed around...
  • flash memory
  • application device memory
  • SRAM/RAM memory
  • onboard storage

any clarification on the differences by you expert developers?
Offline  
Old 04-08-2009, 11:59 PM   #8
pravin
Knows Where the Search Button Is
 
pravin's Avatar
 
Join Date: Feb 2008
Model: 8130
PIN: N/A
Carrier: Sprint
Posts: 37
Default

AFAIK SRAM/RAM used for holding run time data of application there are swapping also between flash and RAM.

Flash memoy used for holding the persistent data of application even it store all the application on device.

Let me correct if I am wrong.
Offline  
Old 09-15-2009, 03:01 PM   #9
CCK01
Thumbs Must Hurt
 
Join Date: Oct 2007
Model: curve
PIN: N/A
Carrier: ATT
Posts: 131
Default

Is OK to allow Google Map to install at the persistent storage?
Offline  
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Welch Allyn Standard (bulb) MAC 2 Laryngoscope Blade #69042 New in OEM Box picture

Welch Allyn Standard (bulb) MAC 2 Laryngoscope Blade #69042 New in OEM Box

$19.77



OEM iPhone 11 PRO X/XR XS MAX 8/7 PLUS Fast Charging USB Cable 10 Feet & 6 Feet  picture

OEM iPhone 11 PRO X/XR XS MAX 8/7 PLUS Fast Charging USB Cable 10 Feet & 6 Feet

$2.99



10 Feet/3M For iPhone 13 12 11 PRO MAX MINI  X XR XS 8 7 Fast Charging USB Cable picture

10 Feet/3M For iPhone 13 12 11 PRO MAX MINI X XR XS 8 7 Fast Charging USB Cable

$5.00



iPhone 13 12 11 PRO MAX XR XS 8/7/6 Fast Charger USB Data Cable cord 10 feet/3M picture

iPhone 13 12 11 PRO MAX XR XS 8/7/6 Fast Charger USB Data Cable cord 10 feet/3M

$4.99



18 x Sunmed Macintosh Standard (Lamp) Laryngoscope Blades, Size 2, OEM ~17016 picture

18 x Sunmed Macintosh Standard (Lamp) Laryngoscope Blades, Size 2, OEM ~17016

$129.99



18309-0090 Carter Hoffmann Appl Leg Rubber Foot Genuine OEM CAR18309-0090 picture

18309-0090 Carter Hoffmann Appl Leg Rubber Foot Genuine OEM CAR18309-0090

$55.95







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.