RMS DB is always increasing its size

Hello guys

Adding a record to you rms database and then erasing that same record, will still increase your DB size!

1 - Is this behaviour expected?

The problem with this situation is that, If you put this procedure on an infinite loop, you will soon be out of available space on your flash system!

2 - Is there any way to prevent you DB from increasing? Like making a regular clean-up to the record IDs that have been erased?

Cheers

David

[481 byte] By [davidsousamendesa] at [2007-11-27 10:36:25]
# 1

> 1 - Is this behaviour expected?

Well, it all really depends on the implementation. Only the interface is specified, the rest is up to the manufacturer. That basicly means that behavior on various phones might be different.

> 2 - Is there any way to prevent you DB from

> increasing? Like making a regular clean-up to the

> record IDs that have been erased?

Yes, simply reuse the erased ID's

deepspacea at 2007-7-28 18:41:09 > top of Java-index,Java Mobility Forums,Java ME Technologies...