Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Apr 2007

    6600 Memory problem

    I've developed a game which needs around 7 mb to execute. I have a nokia 6600 with an additional 512 mb mem card. I installed the .jar file in the mem card. But does it need internal memory only to run? Can't it run using the mem card? It displays memory full on the screen when the game is about to be loaded.

    Please suggest some remedies so that i can use the mem card for the game execution. This is really really important coz we have to show the demo soon......

    Thanx in advance!!!


  2. #2
    Registered User
    Join Date
    Feb 2005

    Re: 6600 Memory problem

    J2ME apps have max mem available equal to the heap size for ur device and i dont think any s60 phone has got such a big heap size(7 mb). Check out the device documentation anyways.

  3. #3
    Registered User
    Join Date
    May 2007

    Re: 6600 Memory problem

    HI namz,
    As you say u have developed ...maybe its like you are trying to load all your game resourceas at one go..try loading only those elements that are most needed at that instance.For Eg- you could load the elements level by level as they are needed and null the rest whicj are not needed..i am sure you are not showing all the features of your game in 1 level itself...all try runnign System.gc() after nulling your elements. Also try and optimize the images that you are using in your game.. am sure you would prefer to run it a lower resolution then it not running.try and reduce colours ..these takes up major part of your heap...Another thing if have done am not sure is keep the number of classes less.Object oriented programming is ok but on mobiles this technique does not help much.u could also reduce your functions i mean try to find out similar functions and merge them into 1 and use if conditions within.

  4. #4
    Super Contributor
    Join Date
    Apr 2003
    USA, CA

    Re: 6600 Memory problem

    hep size for JARs: 3 MB

    try to make your MIDlet less resource intensive as suggested by adilb


  5. #5
    Registered User
    Join Date
    Mar 2003

    Re: 6600 Memory problem

    Quote Originally Posted by Namz
    I've developed a game which needs around 7 mb to execute.
    7 MB!!!
    You have to develop your apps in a less memory demanding way.
    1500k heap max used is good, 1000k is better!

    Lead Developer

Similar Threads

  1. Replies: 9
    Last Post: 2010-06-10, 12:39
  2. problem with file connection on 6600
    By pvumesh in forum Mobile Java General
    Replies: 5
    Last Post: 2007-04-13, 14:38
  3. 6230i memory problem for games and Apps
    By gtasiopoulou in forum Mobile Java General
    Replies: 1
    Last Post: 2005-10-03, 11:55
  4. Memory leakage problem??
    By symnewbie in forum Symbian
    Replies: 1
    Last Post: 2005-06-10, 08:03
  5. 6600 VM woes, or "why is my program crashing randomly?"
    By bubbasbits in forum Mobile Java General
    Replies: 0
    Last Post: 2004-11-25, 04:47

Posting Permissions

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