Skip to main content

about RMS

5 replies [Last post]
raggi
Offline
Joined: 2009-09-20

Hi everyone
I've got several questions about RMS (Record Management Store), could you help me?
1) Is it truth that for each midlet there's a fixed amount of memory it can spend onto record stores, or there's a fixed amount of memory that is allocated for each record store that has been created by the midlet?
2) How much memory is available on different cellphones in average?
3) Is it Ok to rewrite information in the Record Store quite often? ( i mean - is it a regular practice or this operation is quite inefficient?)
4) I'd like to know a bit about asymptotic of the record store operations such as adding a record, setting a record and getting a record. My question #3 wouldn't be interesting if someone helped me with this one (:

Thanks!

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
jaywayjohan
Offline
Joined: 2008-06-18

Hi,

here are some answers:

1) On modern phones there is no limit on the record store, it is only limited by the internal memory. Most implementations use a file as the underlying structure.

2) Hard to say, but you should at least have 64 kb.

3) This operation is quite inefficient on most platforms.

4) Huh?

Regards
Johan

raggi
Offline
Joined: 2009-09-20

Thanks a lot for your answers! They helped me to be more self-reliant in the business i'm doing :)

And what about my last question: i'd like to know if the speed of addRecord, getRecord and setRecord functions depends on the size of RMS, and if it does, then what's the form of this dependance: linear, exponential.. (it's just a sample :)
But this is a question of my own interest :)

Uh, and one more question: RMS system doesn't work on Sun's emulator, so i have to test program on the telephone. What's the problem?

jaywayjohan
Offline
Joined: 2008-06-18

Hi,

I think that you have to do your own performance measurements on your target platform. The implementations seems to very a lot, at least on the platforms that I have used.

The RMS should work with the emulator. Please contact the emulator developers to discuss your issue.

Regards
Johan

raggi
Offline
Joined: 2009-09-20

Hi,

The main problem is that RMS is working, but as soon as i close my midlet, all records disappear. Well, i'll try to google the problem more carefully, as i have a spare time.

Thanks,
Andrey

jaywayjohan
Offline
Joined: 2008-06-18

I what way do they disappear?

Regards
Johan