×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Mar 2003
    Location
    IL/USA
    Posts
    341

    Increasing Heap size

    I read an article, "Secure data files embedded in MIDP applications", about tinyline.com GzipInputStream Utility. In it the author states that he had to increase the size of the applications heap size.
    There is a tradeoff for using compression: decompression inevitably increases the application's memory footprint. TinyLine does not publish the additional heap size required by the library, but from my testing, I had to increase my heap size by 35 to 40 KB. A MIDP application that originally runs on Palm Zire (2 MB) now requires 4 MB of RAM to run. This slight increase in memory footprint should not be alarming for most applications and devices, but regression testing is definitely recommended.
    Is it possible to do this on a "Nokia E61/Series 60 3rd Edtion" using MIDP?

    Thanks!
    Erica A Ramsey / Mobile Apps Developer /
    Resume ~ http://home.comcast.net/~erica.ramsey/CV
    Some Project Screenshots ~ http://home.comcast.net/~erica.ramsey/CV/screens.html

  2. #2
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: Increasing Heap size

    On S60 phones (at least on the 3rd Edition phones, like E61) the heap size is unlimited (=limited by the available phone memory)

    Hartti

  3. #3
    Regular Contributor
    Join Date
    Sep 2007
    Location
    Thirunelveli
    Posts
    115

    Re: Increasing Heap size

    If you are mentioning about testing in emulator you can increase or decrease the heap size there but not in real device.

  4. #4
    Regular Contributor
    Join Date
    Mar 2003
    Location
    IL/USA
    Posts
    341

    Re: Increasing Heap size

    if it is unlimited I wonder why my users are complaining about running out of memory? Is there a reliable way to measure memory usage on Emualtor/Device ? That way, I can max out the application and come up with some minimum Memory Requirements to run the program.

    Thanks!
    Erica A Ramsey / Mobile Apps Developer /
    Resume ~ http://home.comcast.net/~erica.ramsey/CV
    Some Project Screenshots ~ http://home.comcast.net/~erica.ramsey/CV/screens.html

Similar Threads

  1. 3rd ed emulator heap size
    By apsaarin in forum Symbian Tools & SDKs
    Replies: 7
    Last Post: 2007-03-15, 02:29
  2. Audio Input Stream on N80
    By tkaihock in forum Symbian Media (Closed)
    Replies: 9
    Last Post: 2006-06-30, 09:15
  3. info about heap size
    By gmatkar in forum Mobile Java General
    Replies: 5
    Last Post: 2006-03-10, 04:05
  4. Negative Heap size in Nokia 7210i simulator
    By vanvu in forum Mobile Java General
    Replies: 2
    Last Post: 2003-10-29, 22:11
  5. increasing kvm's heap size
    By vickychhabra in forum Mobile Java General
    Replies: 1
    Last Post: 2003-04-17, 16: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
  •  
×