You Are Here:

Community: Developer Discussion Boards

Reply « Previous Thread | Next Thread »

#1 Old Thumbs down Memory problems with N71, E60, N80, N91 - OutOfMemoryError - 2006-05-10, 01:09

Join Date: Dec 2003
Posts: 89
Location: Germany / Cologne
o66183
Offline
Regular Contributor
Hi,

I'm expieriencing memory J2ME problems with these new phones.
After the allocation of some objects, not many (10-20) the phones throw OutOfMemoryError although freememory in Runtime states more than 180 KB free memory.

Same code runs since some years on many older phones without these problems. Somebody expieriencing same behaviour ?

The version for the E60 for example is 1.0610.02.15 12-04-06 RM-49

Thanks
Oliver
Reply With Quote

#2 Old Re: Memory problems with N71, E60, N80, N91 - OutOfMemoryError - 2006-05-10, 13:58

Join Date: Jun 2005
Posts: 9
Amr_Monsef's Avatar
Amr_Monsef
Offline
Registered User
Hi Oliver,

I am expieriencing the same problem now, and I do not know why this happens where it is supposed that these device more stable and more strong.

Thanks
Amr
Reply With Quote

#3 Old Re: Memory problems with N71, E60, N80, N91 - OutOfMemoryError - 2006-05-10, 15:13

Join Date: Dec 2003
Posts: 89
Location: Germany / Cologne
o66183
Offline
Regular Contributor
Hi,
I filed two paid and therefore professionell (:-))support requests, but still no sufficient answer. I'll inform here if a workaround is found.

I have four problem phones right now, the N71, E60, N80, and the N91, all official sold phones .
A suggested workaround (from Nokia) is to reuse my Canvas, what I've done where I could. This helped for the N91 and the N71, but the E60 and N80 are still broken.

Same apps run on the N70 or even the on new 3250 without problems (and much older 6600, 6630, 6680), so it seems they have built in a new memory problem in the J2ME VM built later than 3/2006 and within the Series 60 3rd only (at this stage).

Allocation of 20 own Canvas brings up memory exceptions altough VM states 180 KB free and one object needs around 1 K.
Even the total heap of 800 K for a new Series 60, which is stated by the runtime, seems to be a little low to me ?

Oliver

Very strange
Reply With Quote

#4 Old Re: Memory problems with N71, E60, N80, N91 - OutOfMemoryError - 2006-05-19, 11:58

Join Date: Mar 2003
Posts: 382
jalev's Avatar
jalev
Offline
Forum Nokia Expert
Hi,

Would this is because of bigger screen resolution and when using canvas or other graphics related.. it takes much more memory, the system reserves much more memory:

e.g
E60, n80 Resolution: 352 x 416
n71 Resolution: 240 x 320

but n91 is having 176 x 208 resolution so that is a bit odd.
Reply With Quote

#5 Old Re: Memory problems with N71, E60, N80, N91 - OutOfMemoryError - 2006-05-19, 12:09

Join Date: Dec 2003
Posts: 89
Location: Germany / Cologne
o66183
Offline
Regular Contributor
Hi,

I have received an answer from the professionell Nokia support concerning the issue above. As stated here Nokia has an issue concerning Symbian memory management, so it's not my/any application producing the error.

I happy about the honest answer from Nokia:

Hi Olli,

Sorry for the late response.

The problem tuned out to be much complex than what we originally expected it to be. The reason for memory leak is somewhere deep in Symbian OS which makes it impossible for us to give a workaround in short time.

The reason is still in under investigation. Please stand by for the further information.

We apologize and are really sorry for this error.

This case will be closed now. You will be granted new case because this error is in our platform.

Regards,
Sriram
Status: Closed
Created: 27-Apr-2006

To review the details of this support request, go to https://pro.forum.nokia.com/loadSer...RequestId=13476 and log into the Support Center web site.

We would like you to complete the Support Customer Satisfaction Survey. Please complete this survey to share your level of satisfaction with us. To review the above support request and to fill in the survey, log into the Forum Nokia Support Center web site at

https://pro.forum.nokia.com/crm/Sur...&entityID=13476
Reply With Quote

#6 Old Re: Memory problems with N71, E60, N80, N91 - OutOfMemoryError - 2006-05-19, 12:13

Join Date: Dec 2003
Posts: 89
Location: Germany / Cologne
o66183
Offline
Regular Contributor
Yes, this sounds like a possible explanation. My workaround is to reduce Canvas usage which helps (because I've don already - not more than 10 Canvas instances in one app. what's not that easy)
Olli
Reply With Quote

#7 Old Re: Memory problems with N71, E60, N80, N91 - OutOfMemoryError - 2006-05-22, 08:46

Join Date: Mar 2003
Posts: 382
jalev's Avatar
jalev
Offline
Forum Nokia Expert
Regarding to this problem,
those devices are 3.0 devices,
but did you find this problems also with N90, which is 2.8 device but having also bigger resolution.
Reply With Quote

#8 Old Re: Memory problems with N71, E60, N80, N91 - OutOfMemoryError - 2006-05-22, 13:38

Join Date: Dec 2003
Posts: 89
Location: Germany / Cologne
o66183
Offline
Regular Contributor
I did not have any problems with the N90 but I can test again if you want me to.
Olli
Reply With Quote

#9 Old Re: Memory problems with N71, E60, N80, N91 - OutOfMemoryError - 2006-05-22, 18:22

Join Date: Apr 2004
Posts: 12
lbauer
Offline
Registered User
The N90 worked fine for me as well.

-Lujo
Reply With Quote

#10 Old Re: Memory problems with N71, E60, N80, N91 - OutOfMemoryError - 2006-07-16, 16:32

Join Date: Jul 2006
Posts: 2
colinmchugo
Offline
Registered User
I am having a similar problem i have an N91 and even when i go to my contacts (which is obviously important) it says memory full close some applications and try again but there is loads of memory free and i have nothing stored on the n91 harddrive helppppppppppppppppppppppppppppp please Colin Dublin, Ireland
Reply With Quote

#11 Old Re: Memory problems with N71, E60, N80, N91 - OutOfMemoryError - 2006-07-16, 16:46

Join Date: Dec 2005
Posts: 1,696
Location: Europe/Poland/Warsaw
peterblazejewicz
Offline
Super Contributor
hi Colin,
welcome aboard! :)
please do not post the same question more then once:
http://discussion.forum.nokia.com/fo...ad.php?t=70278
if you have issue with keybord key pressed its good habit to correct post afterwards,
thanks,
regards,
Peter
Reply With Quote

#12 Old Re: Memory problems with N71, E60, N80, N91 - OutOfMemoryError - 2006-07-23, 22:23

Join Date: Jul 2005
Posts: 17
Location: Qatar
WeArab's Avatar
WeArab
Offline
Registered User
This is known bug problem about S60 3td edition they always run out of memorey which is a major problem and pain on neck.

Check these reads about it.

http://my-symbian.com/forum/viewtopic.php?t=26344
http://my-symbian.com/forum/viewtopic.php?t=27272

I wish Nokia engineers would fix E70 soon!


Thank you,

Arabian
Arab Portal Network
http://www.WeArab.Net/
Reply With Quote

#13 Old Re: Memory problems with N71, E60, N80, N91 - OutOfMemoryError - 2006-08-07, 10:36

Join Date: Feb 2006
Posts: 113
pillar
Offline
Regular Contributor
I ran into similar problem. My application caches images and I would like to know how many images I can cache without running out of memory. But since Runtime's freememory is probably giving wrong answes, I will get OutOfMemoryError. If I manually limit the number of cached images, this will not happen. Is there really no way to know how much memory really is left on Nokia 3rd edition devices?
Reply With Quote

#14 Old Re: Memory problems with N71, E60, N80, N91 - OutOfMemoryError - 2006-08-08, 13:57

Join Date: Oct 2003
Posts: 30
horaceng
Offline
Registered User
I've not tried the 3rd edition devices. But at least 1st & 2nd edition devices cannot detect the exact free memory in J2ME because it only report the 'dynamically' allocated free memory at the time freeMemory() is called.
Reply With Quote

#15 Old Re: Memory problems with N71, E60, N80, N91 - OutOfMemoryError - 2007-01-05, 12:38

Join Date: May 2006
Posts: 1
Location: Mumbai, India
Send a message via MSN to MadhusudhananN Send a message via Yahoo to MadhusudhananN Send a message via Skype™ to MadhusudhananN
MadhusudhananN's Avatar
MadhusudhananN
Offline
Registered User
Hi

below quote will help you to understand about memory problem in Nokia devices:


"The CLDC HI VM running on Symbian OS supports a dynamic heap. In other words the size of the heap is not constrained (except by available memory) and can grow according to the demands made by an executing MIDlet suite. A Consequence of this is that the results returned by the Runtime.getFreeMemory() method can be confusing. The getFreeMemory() method only returns a snapshot of the free heap memory currently available, and becomes invalid after a subsequent allocation to the heap. The initial heap size for CLDC HI on Symbian OS is 400 kB, although this is customizable by the licensee."

-Madhu


Madhu
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
N91 form problems coolste23 Mobile Java General 10 2008-02-21 04:13
Backup to memory card problems nokia 6600 timmymarsh General Discussion 0 2006-02-24 19:16
6680 Memory Problems -- URGENT!!!! earamsey Mobile Java General 0 2005-10-17 02:11
Memory problems with Nokia 6680 and FileConnection API example berni4 Mobile Java General 2 2005-06-10 20:31
can not successfully link any sample using .NET lobotomat Symbian Tools & SDKs 2 2002-08-20 01:29

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2010 Nokia