• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Minimum Physical Memory Needed by RMS?

 
Alan Walker
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Recently I had a problem with a midlet I developed seeming to lose some records from the RMS every so often on my Nokia series 40 phone (a 6610). The midlet had run successfully for months without this problem.
The only thing I could think of was that I had recently installed another midlet, bringing the available persistent memory on the phone down to 10K. When I deleted some things and got the free memory back up to about 40K, the problem seemed to go away again. The same persistent memory allocation is obviously used by midlets and other downloads and also RMS data.
I know there is a 20K limit on RMS data per midlet on series 40 phones, but my midlet gets nowhere near that. Nor was the midlet near to using up the 10K physically available. But do you need to have at least 20K physically available for the RMS, even if you are not using it all?
I'd be grateful for any ideas about this. (Got no answer on the Nokia discussion board.)
Regards, Alan Walker
 
Clifford Wong-
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could it be somehow the record headers are getting overriden. That happens sometimes on the PalmOS system w/PalmRecords or RMS. Also, make sure the records are not variable length (i.e. keep it around some fixed size) to see if that helps.
Thinking a bit stretched, are you writing/deleting the records in a loop (while/for/do/iterator)? Again, considering the PalmOS layout is similar, adding/removing a lot of records at one time sometime causes records to disappear (or can be *duplicated* during hotsync...)
HTH,
Cliff
[ March 22, 2004: Message edited by: Clifford Wongg ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic