• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

Minimum Physical Memory Needed by RMS?

Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...)
[ March 22, 2004: Message edited by: Clifford Wongg ]
Did you ever grow anything in the garden of your mind? - Fred Rogers. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
    Bookmark Topic Watch Topic
  • New Topic