what can I do with a full record store?!!!!
hello
the openRecordStore() method throws RecordStoreFullException.
then when a record store is full we cant open it. true?
so is there remain any way except deleting it.(missing all data stored.)
this is foolish there must be some way.
or is there any way of finding out how much memory remained for record store.
can any body help me.
[379 byte] By [
etaa] at [2007-11-27 10:11:57]

# 2
if this is when you are testing on an emulator you could try increasing the "heap" size the reloading the app... if not then i would say you maybe need to delete and start again.. but next time set cache size limits,. ie. figure out the cache size the is max, and set a property that stay...
ok i dont really know what you are doing but stay you are storing photos in rms and this problem occurs when you try to save 12 images.... set a max cache size of 10, so when a user tries to save the 11th image an alert pops up saying sorry you cannot save this image until you delete an old one?....../fg
# 3
thanks
then you say that there is some way that I can say the phone that I nedd for example 200 KB of memory and the phone will reserve it for me, even if it runs out of it.
could you please tell me how can I do this.
etaa at 2007-7-28 15:17:07 >

# 4
i am not fully sure what you mean, but i think you would need to find out how much heap memory your device has and then make your app not use that much.
when you are testing your app in an emulator in the emulators configuration there will be a textbox labeled "heap size" or similar there you can test with different sizes..
i have a se k610 and it has about 1.5Mb...but you need to know what kind of phones you are going to use the app..
Then what ever it is you are saving in the rms, you need to figure out roughly how much memory one "thing/file" will use..... e.g. one png image maybe 43Kb and if your heap size is only 200Kb then you probably couldn't store more than 4 images of that size without having a few issues......./fg
# 5
Ok.
I'm developing an sms program. I have some record store
one of them is inbox/outbox.
I want to :
tell AMS in some way to save or reserve for my record store some specified memory which enables me to compute my used(and the remained) memory size.
or at least :
a way to retrieve remained memory for my midlet which will help me not to store too much information in record store. then I will not destroy my information my self but other can do yet.
etaa at 2007-7-28 15:17:08 >
