×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Jun 2003
    Posts
    21

    quick memory question

    Hi
    In the device specification, there is a section for: shared memory for storage.
    Is this the same as the persistant storage that is mentioned with regards to the Record Store?

    Thanks
    Alex

  2. #2
    Regular Contributor
    Join Date
    Apr 2003
    Location
    Bangalore
    Posts
    117
    Hi

    I think they aren't same.


    Regards

    Chandu

  3. #3
    Registered User
    Join Date
    Jun 2003
    Posts
    21
    Thanks for your reply. Is there a way to store data in the shared storage area that can be accessed by a MIDlet?

    Thanks
    Alex

  4. #4
    Registered User
    Join Date
    Jul 2003
    Location
    Finland, Tampere
    Posts
    1,113
    aed02
    In the device specification, there is a section for: shared memory for storage.
    Is this the same as the persistant storage that is mentioned with regards to the Record Store?


    You need to add details. It can be total memory for storing MIDlets or it can be RMS space.

    However, I thought that RMS limit is usually per MIDlet, not shared..

    Make simple check:
    MIDlet storage space should be something like 200Kb-some MB
    RMS space is usually less 100KB

  5. #5
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395
    Some devices use only one area of memory, and share dynamically between different requirments, like heap, RMS, jar storage and so on. Others may permanently allocate separate areas of memory for each use. I think the former is what "shared memory" refers to. There is no "shared memory" in the sense of being able to share data between midlets. RMS is the only means of storing information persistently, and RMS recordstores are local to each midlet-suite, and cannot be shared.

    Graham.

  6. #6
    Registered User
    Join Date
    Jun 2003
    Posts
    21
    Thanks for your reply - so to clarify:

    If the device spec for a phone (eg. Nokia 6100) says:

    heap size: up to 200kB
    shared memory for storage: up to 725kB
    max jar file size: up to 64kB

    This means - my application and resource files have to be under 64kB. I can't tap into that 725kb at all?

    Thanks
    Alex

  7. #7
    Registered User
    Join Date
    Jul 2003
    Location
    Finland, Tampere
    Posts
    1,113
    aed02
    This means that you can download to the phone as many MIDlets as you want while their total size (+ their RMS databases) is less then 725 kbs.

    This means - my application and resource files have to be under 64kB
    Yes. Actually it can be even a bit less. Something like 63Kb + some bytes.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •