Skip navigation.

Opera Mini fans

blog for Opera Mini enthusiasts

Find out how much memory you have in your phone

, ,

One frequently repeated question at official Opera Mini forum is the amount of memory needed by Opera Mini. Very understandably OM team does not reveal much details and phone manufacturers usually don't tell much either. Usually on manufacturers Web sites only the size of phone's flash memory is told, but the size of so called heap (RAM) memory is hardly ever mentioned. Moreover, it is very unclear how this heap memory is allocated to different phone tasks. In this article I try to explain a little how memory is used while running Java midlet's like Opera Mini.

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.

TUTORIAL: Make Opera Mini (4.1) your default system browser!Opera 9.5 and Opera Link

Comments

Menneisyys 18. May 2008, 14:02

Excellent write-up, congrats :smile:

serola 19. May 2008, 10:19

Thanks Menneisyys
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

This memory issue can be very confusing. Today I ran the TastePhone test again and this time optional test told me to have:

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

Did you do a firmware update? I updated the firmware on my W890 last night, and the 'real maximum RAM' rocketed from between 4MB and 5MB up to 12.5MB.

serola 14. June 2008, 18:55

Is there new official firmware available? I have R1KG001.

theoddbod 14. June 2008, 19:04

I have R1FA030, which has a date of May 4th on it. I know there are regional and operator versions, though. This is the first update I've had since I bought the phone in March, and the phone's update service denied it existed (had to use the PC). Definitely a bit more stable and nippier now.

serola 14. June 2008, 19:15

Thanks for the tip Mart :smile: I'll try what happen on my SE K800i and let you know.

theoddbod 14. June 2008, 19:22

Ah, you've still got the K800? I switched to the W890 when the joystick gave up (past warranty). I don't think there's a newer firmware for the K800.

serola 14. June 2008, 20:09

I switched the joystick when I still had warranty left, so joystick works quite well.

But I just noticed I left my USB cable at work, so can't check the firmware updates for K800i yet. Till Monday then :cheers:

theoddbod 14. June 2008, 20:58

Apparently there's R8BA024 out for the K800, since last October.

http://www.esato.com/board/viewtopic.php?topic=124349

serola 14. June 2008, 21:05

Yes, I know the Esato, but it's not an official source. I still have not found time to play with FS++ or any other third party softwares. I have only installed the official updater and there's no more than month when I used it to check if there are any official updates since R1KG001. But thanks for checking this for me

serola 16. June 2008, 09:42

No firmware updates available for SE K800i since R1KG001 and when using official Sony Ericsson's Update Service tool v2.8.6.10 :frown:

The day for me to install FS++ is near..

jbpseudo 18. June 2008, 08:20

FS ++? Are you referring to XS++?
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

Oh yeah, I meant XS++
I just can't seem to find time to do anything extra :frown: Hopefully I find some time during summer holidays.

jbpseudo 18. June 2008, 08:26

Summer Updates! huh? p:

meem99 19. June 2008, 07:43

@ serola : I ve just read ur most above article , it is excellent and very helpfull , really very good work .
I really needed to read it as the om RAM issue confuses me - a new user - , so thank u for sharing the info . :smile:

serola 19. June 2008, 08:47

giggleicious 29. June 2008, 13:27

hi
im :confused: as to
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!!!!! :confused:
How do i do this ? ?
Also:-( i cant access most of yahoo services which i ve always used.
:smile:In operas browser i can access anything i choose but within minutes of browsing..again i get out of memory message and depending which version im using it sometimes hangs. I find if i reload every couple pages it seems to prolong the hang time but its becoming a Nitemare to use.
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

Wow...any longer and i would of fallen off the page lmao

theoddbod 29. June 2008, 19:50

I suspect the 6288 just won't cut it for Mini - it's very low in both internal storage (which can be added to with a memory card) and built-in memory (which you can't add to). You could check if there's a newer version of the firmware, maybe.

giggleicious 29. June 2008, 21:46

I had 4 versions of operamini on my phone. Versions 4 and 4.1 beta are on memory card n the finished 4.1 plus operamini3.0 was stored in games on my handset along with yahoo im and msn im plus some widget for getting info etc i downloaded the other day, i ve moved all but opera4.1 onto memory card and taken it out of my phone, that has made a considerable improvement to the memory error messages. I ve had only one since i posted on here and i ve been on facebook too. Just wonder if they were causing a conflict

giggleicious 29. June 2008, 21:55

Not too worried as im calling my operator in morning for an upgrade phone which i ll be asking for one thats compatable with opera lol not worried wot make wot size or wot colour as long as it works with opera. But in all honesty, i ve used this nokia for well over a year now and i ve had no problems with it until very recently, and considering i use it as i would a pc, its hardly suprising its out of memory.

giggleicious 29. June 2008, 22:02

Out of interest though, im going to install Tastephone and run it . I ll record the results and post them on here later.

serola 30. June 2008, 09:10

@ Giggleicious - Nevertheless, this topic would have been better to dealt at official Opera Mini forum. Remember, this Opera Mini fan blog & forum. You will get help only from other OM fans.

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

Thank you :smile:

Write a comment

You must be logged in to write a comment. If you're not a registered member, please sign up.