DictionaryForMids Forum

Admins & Developer => General discussions => Topic started by: krushnaji on 30. January 2011, 15:37:51

Title: error "java.lang.outofmemoryError"
Post by: krushnaji on 30. January 2011, 15:37:51
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?
Title: Re: error "java.lang.outofmemoryError"
Post by: Gert on 30. January 2011, 17:32:07
Do you use a self-written NormationClass which may have a bug ?

Gert
Title: Re: error "java.lang.outofmemoryError"
Post by: krushnaji on 31. January 2011, 07:51:31
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?
Title: Re: error "java.lang.outofmemoryError"
Post by: 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 ?

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

Gert
Title: Re: error "java.lang.outofmemoryError"
Post by: krushnaji on 31. January 2011, 14:36:51
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
Title: Re: error "java.lang.outofmemoryError"
Post by: krushnaji on 31. January 2011, 14:41:42
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............
Title: Re: error "java.lang.outofmemoryError"
Post by: Gert on 31. January 2011, 18:26:22
Strange ... hmmm, maybe a problem with the StringColourItem class ?

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

Gert
Title: Re: error "java.lang.outofmemoryError"
Post by: krushnaji on 31. January 2011, 21:06:52
right! when i uncheck/deactivate coloured display all dictionary works fine..............
what is solution?
Title: Re: error "java.lang.outofmemoryError"
Post by: Gert on 01. February 2011, 07:08:52
We need to find someone who is fixing StringColourItem: http://dictionarymid.sourceforge.net/forum/index.php?topic=145.0 (http://dictionarymid.sourceforge.net/forum/index.php?topic=145.0)

Gert
Title: Re: error "java.lang.outofmemoryError"
Post by: krushnaji on 01. February 2011, 09:18:48
thanks for info................