Find out how much memory you have in your phone
By Serola. Saturday, 17. May 2008, 20:51:24
One way to find out more details on the size of available flash and heap memory is to install and run an especial Java midlet. Here I introduce Java midlet called TastePhone, which is designed for testing the features of cell phones.
What you need is to visit at http://wap.club-java.com/en using your built-in browser and install the midlet into your phone. TastePhone test has two main phases. First in the basic test you start the midlet and select the language. Then you need to start the actual test by following the instructions. During the basic test TastePhone closes it's interface for five seconds and continues after that. When the basic test is done, you get page full of information about the phone specifications. Scroll down to section where you see 'Memory detail'. There you will see for eample imformation like this:
Total RAM size (heap): 1024kB = 1.0MB
Free RAM size at startup: 942kB
Free flash (RecordStore) size: 1508367kB = 1473.0MB
The second phase of TastePhone test is so called 'Optional test'. If you decide to run this, you will first see options for testing bluetooth, 3D graphincs and real maximum RAM. Deselect the first two options and continue for the real maximum RAM. Prepare yourself for a long wait. It may take even half a minute before nothing happens. After wait is over, Tastephone try to connect Internet and send the test results to TastePhone dataphase. You can deny this but by sending the information you help others to see what this phone model is capable of. Ask yes or no to these questions, just as you like, and you will finally see the final results, which looks something like this:
Total RAM size (heap): 3711kB = 3.6MB
Maximum size allocated before RAM full: 3501kB
Free RAM size at startup: 942kB
Free flash (RecordStore) size: 1508367kB = 1473.0MB
Additional test suddenly claims there's more RAM available. The total amount of RAM is 3.6MB and there are 1.5GB record store, which in this case is so large because there's external flash card in use. But what does that mean? To understand that we need to run some more serious tests. If we take a look at TastePhone test result again we will see another interesting information:
Advanced functionalities:
Can the midlet pause itself and stay active in the background: Yes/No
If yes, then it's possible to do the following. Close the TastePhone, start Opera Mini, browse a little and pause the midlet. In Sony Ericsson phones pausing can be done by pressing so called return key for a while. You get the options to either close the midlet or minimize it. If you minimize, then you just allow the midlet to run in the background. Now you can also run other midlets or phone tasks if you like. If you run TastePhone while OM is running in the background, you may get very different results:
Total RAM size (heap): 1279 = 1.2MB
Free RAM size at startup: 237kB
Free flash (RecordStore) size: 1508367kB = 1473.0MB
Total RAM size (heap): 2047kB = 1.9MB
Maximum size allocated before RAM full: 962kB
Free RAM size at startup: 237kB
Free flash (RecordStore) size: 1508367kB = 1473.0MB
And if you go back to Opera Mini, browse even more, and then run the TastePhone while OM is still running in the background, you probably get even more confucing results. You may even end up in to situation when TastePhone refuse to open because there's no free memory to run it. But what does all this mean? The answer is not very simple.
Especially on many advanced Sony Ericsson phones there's so called 'dynamic memory' used. Therefore the basic test gives very different values depending on what midlets are running and how much memory these midlets claim for themselves. But there is a limit how much space the midlets claim and how much the phone gives to them. For example on my Sony Ericsson K800i Opera Mini goes aproximately up to 1MB before it decide to clear the cache and start all over. And the total amount of memory all midlets can use is somewhere around 1.2MB.
When OM's cache is nearly full, and taking the size of OM midlet into account, the whole available memory is in use. At that moment it is also impossible to start any other midlets.
But why can't I get the total amount of RAM mentioned in the optional test into use? This is because phone needs to reserve some memory to other than midlet tasks as well. Built-in browser, phone calls and camera need their share of memory as well. In some phones, using less advanced memory structure, the midlets get just killed when you receive a phone call. The conclusion is that midlets are not necessarily allowed to use the all available memory.
Update 18 Nov 2009: Thanks to Selurus for pointing out A detailed comparison of Series 60 (S60) Symbian smartphones.



Menneisyys # 18. May 2008, 14:02
serola # 19. May 2008, 10:19
Folks, I'll update this article in near future. For example it's still an open question why some phones can't fully display pages like this: http://www.mobile-review.com/review/samsung-f480-en.shtml#21
This page is only 300kB according to download bar and yet number of images on that page are not opened. So, some more tests are needed to fully understand the way how memory work.
serola # 23. May 2008, 12:44
Total RAM size (heap): 6207kB = 6.0MB
Which is almost double of what I had when writing the article. Maybe there was some hidden phone tasks running previously. I recommend to switch off the phone every now and then to find out if it would free more memory for midlets to run.
theoddbod # 14. June 2008, 18:51
serola # 14. June 2008, 18:55
theoddbod # 14. June 2008, 19:04
serola # 14. June 2008, 19:15
theoddbod # 14. June 2008, 19:22
serola # 14. June 2008, 20:09
But I just noticed I left my USB cable at work, so can't check the firmware updates for K800i yet. Till Monday then
theoddbod # 14. June 2008, 20:58
http://www.esato.com/board/viewtopic.php?topic=124349
serola # 14. June 2008, 21:05
serola # 16. June 2008, 09:42
The day for me to install FS++ is near..
jbpseudo # 18. June 2008, 08:20
Its installation is a breeze. And believe me its several times easier than official tool as you updating is not done via SE server. You need to use a manually downloaded main or FS firmware file. For me updating hardly took 2 min.
For tutorials i'd choose se-nse.net or topsony.com.
Use mobilefree.net for latest free firmware files.
serola # 18. June 2008, 08:23
I just can't seem to find time to do anything extra
jbpseudo # 18. June 2008, 08:26
meem99 # 19. June 2008, 07:43
I really needed to read it as the om RAM issue confuses me - a new user - , so thank u for sharing the info .
serola # 19. June 2008, 08:47
giggleicious # 29. June 2008, 13:27
im
why my nokia 6288 has suddenly developed a huge attitude problem? i.e When using my original phone browser, it wont redirect 2 other urls,
:cries: i cant access facebook anymore,
it gives an ERROR: OUT OF MEMORY message(check java settings in phones browser) ? ?
HELP!!!!!
How do i do this ? ?
Also:-( i cant access most of yahoo services which i ve always used.
Any suggestions please apart from an upgrade is there anything i can do to solve this problem. ? ? NOKIA 6288: A 3G SLIDE PHONE FOR WCDMA-2100 and GSM-900/1800/1900 WAP 2.0 (XHTML) browsing.
Series40 3rd edition (initial release)
MEMORY:
max user storage 6MB
Plus memory card NETWORK DATA SUPPORT:
WCDMA
EGPRS
GPRS
HSCSD
CSD
JAVA TECHNOLOGY:
MIDP 2.0
CLCD 1.1
JSR-120 wireless messaging API
JSR-135 mobile media API
JSR-184 mobile 3D Graphics API
JSR-185 JTWI
JSR-226 scalable 2D vector graphics API
JSR-75 file connection and PIM API
JSR-82 bluetooth API
I would really appreciate any help on this matter. Thank you x x tracy x x N.B. Im due for an upgrade now, so i may as well get a new phone..any suggestions as to which phone i should choose. . . Prob between ericcson iphone and another nokia. Im leaning towards the ericcson personally as i ve been disappointed with this particular nokia from the outset. Thanks again. (sorry for the lengthy message).
giggleicious # 29. June 2008, 13:30
theoddbod # 29. June 2008, 19:50
giggleicious # 29. June 2008, 21:46
giggleicious # 29. June 2008, 21:55
giggleicious # 29. June 2008, 22:02
serola # 30. June 2008, 09:10
Edit: And here is my tip. I would try to start from a "clean table": http://my.opera.com/opera.mini/forums/topic.dml?id=232850
Also remove all Javas you really don't need.
giggleicious # 30. June 2008, 13:04