Discussion Board

Results 1 to 9 of 9

Hybrid View

  1. #1
    Registered User CrisSS's Avatar
    Join Date
    Jun 2012
    Location
    Brasil
    Posts
    15
    I would like to request that Nokia inform in Device Specification the following items:
    *RAM available for Java aplications.
    This item is very important for the Java developer, but the memories reported in Devices Specifications has nothing to do with Java.

    For example:
    My N97mini have 128MB RAM, but for Java has only 80KB.

    This information "in general" become very confusing for the beginner developer.

    Thanks for attention.

  2. #2
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    Well, if there is a limit, it is listed in "Memory Functions".
    https://www.developer.nokia.com/Devi...ions/N97_mini/ says Unlimited, which means Java can use up as many memory as it finds. However it is normal that it can not use all the 128 megabytes, the OS and other running applications use memory too.

  3. #3
    Registered User CrisSS's Avatar
    Join Date
    Jun 2012
    Location
    Brasil
    Posts
    15
    Then, the OS consume almost all RAM ?
    What is the minimum consumption of RAM of Symbian OS v9.4 ?

  4. #4
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    The OS certainly does not consume all the RAM. How did you measure that 80 kB?

  5. #5
    Registered User CrisSS's Avatar
    Join Date
    Jun 2012
    Location
    Brasil
    Posts
    15
    I load 8 images of 10KB each. Using: Image.createImage("image1.png")
    After the images loaded I draw they so that the Garbage Colector not discard the images. I'am using GameCanvas for draw.
    I'am using MIDP 2.0 and CLDC 1.1
    With the emulator of Java in the third image I catch Out Of Memory Error. This is right because CLDC 1.1 have the minimun of 32KB of RAM.
    With the emulator of Nokia N97mini the error hapen in the eighth image loaded.

    Nokia does not tell how much RAM memory consumes Symbian OS ?
    Last edited by CrisSS; 2012-07-09 at 15:11.

  6. #6
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    What is the resolution of your images?

  7. #7
    Registered User CrisSS's Avatar
    Join Date
    Jun 2012
    Location
    Brasil
    Posts
    15
    Humm......
    My image is 1080x 592..... Humm..... = 639.360 pixels.
    The screen of N97mini is 24bit color depth.
    Each pixel have 3byte... Hummm........ 3*639.360 = 1.918.080
    Each image consume 1,91808 MB.... Hummmmmm..... 1.918.080 * 7(images) = 13.426.560
    Hummmm..... my test consumed 13,4 MB..... Then the Symbian OS v9.4 consume more than 100MB of RAM.
    Right ???

  8. #8
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    Considering that 3 posts ago your images were consuming 80 kb, 13+ megabytes is some kind of an increase. Also note that there are some chances for that the images are stored with 32-bit color mode in the memory. Obviously the OS does not consume 100 MB of RAM, however there are many other tasks are running all the time (for example the Phonebook application stays in the memory even if you exit from it, etc.).
    Anyway, for checking the actual memory conditions, you can try Y-Tasks from http://drjukka.com/YTasks.html, the free version should be enough for it.

  9. #9
    Registered User CrisSS's Avatar
    Join Date
    Jun 2012
    Location
    Brasil
    Posts
    15
    Using the YTask I discover the consume of RAM of Symbian OS v9.4 in my N97mini : 73MB
    And the numbers calculated is right. The images consume a lot of memory.
    Thanks wizard_hu !!!

Similar Threads

  1. Device specifications.
    By savaj in forum Feedback - Nokia Developer Services
    Replies: 8
    Last Post: 2009-03-06, 12:19
  2. Re: Ask The Expert on Device Specifications
    By Puja in forum General Development Questions
    Replies: 1
    Last Post: 2008-07-17, 12:09
  3. DM features to Device Specifications
    By da_matta in forum OMA DM/DS/CP
    Replies: 1
    Last Post: 2006-08-29, 09:46
  4. Device Specifications in CSV
    By rvictor in forum General Development Questions
    Replies: 1
    Last Post: 2006-08-08, 02:47
  5. Nokia Device Specifications
    By theTool in forum General Development Questions
    Replies: 0
    Last Post: 2003-03-24, 19:33

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved