• Welcome to DictionaryForMids Forum.
 

error "java.lang.outofmemoryError"

Started by krushnaji, 30. January 2011, 15:37:51

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

krushnaji

when i search for certain words i get above error. later i found that words which has large definations get above error .
is there solution for it?

Gert

Do you use a self-written NormationClass which may have a bug ?

Gert

krushnaji

no , i dont. i use default normation class .
error pops up for certain words having lengthy definations .
so excluding certain words , rest dictionary works fine .
i m using nokia 6303 classic cell phone .
is this problem due to limited RAM of cell phone ?
have u encountered with this bug before?

Gert

I never encountered this problem before (some buggy SonyEricsson models show that error, but not because of lack of memory).

Do you use the normal 'empty' version and run JarCreator ?

Can you give an example for 'lengthy definition' ? E.g. is it 10.000 characters long ?

Gert

krushnaji

Quote from: Gert on 31. January 2011, 11:24:23
I never encountered this problem before (some buggy SonyEricsson models show that error, but not because of lack of memory).

Do you use the normal 'empty' version and run JarCreator ?
to create dictionary , i run setup batch file. i dont use jar ceater.
Can you give an example for 'lengthy definition' ? E.g. is it 10.000 characters long ?
e. g   get  has different meanings , more than 10 definations
             GET      1.(v.) ........................
                        2.(v).............................
                        3.(v) ......................
                        ................
                        ...............
                       15(v) ......................

Gert

krushnaji

one more thing,
when i change font size through settings option as a "medium" instead of "device default" ,
bug get disappeared.
and dictionary works fine............

Gert

Strange ... hmmm, maybe a problem with the StringColourItem class ?

So when you deactivate the coloured display, then things work fine, right ?

Gert

krushnaji

right! when i uncheck/deactivate coloured display all dictionary works fine..............
what is solution?

Gert


krushnaji