| Reply | « Previous Thread | Next Thread » |
|
Hi All:
I write a j2me application which can run on the Nokia 8600luna.But the problem is when i quit the application,"OOM" exception occurs almost very time.The OOM Exception is: "Out Of Memory Error java/lang/OutOfMemoryError" Can any anybody give me some advice on how to solve this problem? Thank you very much. |
|
Quote:
If you check device specifications of 8600 then its mentioned that it has 2MB of heap size. So your application might be creating objects but not getting garbage collected at proper time. One wierd solution to it may be to try to format the cell and then reinstall the application again, see what happens then. Sunil Software Developer - J2ME |
| sunil_bhambani123 |
| View Public Profile |
| Find all posts by sunil_bhambani123 |
|
Join Date: Mar 2008
Posts: 2,161
Location: The Capital of I N D I A
raj_J2ME
Offline
Forum Nokia Champion
|
|
Hi,
As sunil_bhambani123 described already,your application can not exceed the heap size.And he has also put the point that the objects you are creating , not getting garbage collected.So you can fix the problem by following these points.... 1.Just open the application with memory monitor 2.try to find out that which type of objects you are exceeding..there is a tab you can click and you can see this.. 3.Now you think that where you are using these objects in code.. 4.check whether any declaration,initialization,Image creation has not been done in loop.. 5.Once you have done the work of any object/image , and you dont need that ,then go and put the same as null. Hope you can do it... If any issues comes then let us know... Thanxs Thanks R a j - The K e r n e l |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| OOM Testing Need help!!! | hoy_cpe | General Symbian C++ | 3 | 2008-03-17 18:24 |
| Eikon 7 error occurs when exit | JackSu | Symbian User Interface | 0 | 2007-10-08 09:38 |
| Browser on N76 asks "show cancelled downloads?" every time I quit | cronn | General Browsing | 2 | 2007-09-18 20:24 |
| How do I quit? | Poldie | Mobile Java General | 17 | 2006-05-30 23:36 |
| SMTP on 3650: QUIT immediately after EHLO without sending e-mail | woudt | Smart Messaging | 1 | 2004-01-22 12:32 |