• Welcome to DictionaryForMids Forum.
 

problem with language 2 with large texts

Started by daroojoo, 18. October 2011, 13:47:35

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

daroojoo

hello
i want to create a large dictionary using a txt file with size 28 Mb and 6000 enteries. It has 2 columns (language 1 and language 2). in 'properties' i determinded that language 2 does not form Index and not to be searchable. language 1 is searchable and have a small size enteries (often each less than 30 characters). but some of language 2 enteries is very large (even some of them more than 2000-5000 characters.
my problem was Heap Error after entering command line. so I used command :
java -Xmx200M -jar C:\a\Tools\DictionaryGeneration.jar
and my dictionary was created. But when I install on my mobile phone it presented me some out of memory Error or could not open csv file Error specially with large enteries.
is it possible to somehow resolve the problem? or adding a new feacher to dictionary 3.5.7 to automatically split (divide) large enteries to resolve Heap error or out of memory error.
prior thanks.

daroojoo

now that i see it i know some of enteries of language 2 is even more 30000 characters. it is dificult for me to find and divide numerous enteries that have problem, in addition it is a bit nndesirable for my users to read separated texts.

Gert

So generating works ok now, right ?

But you have a problem when you install the dictionary on your mobile ? What error exactly does your mobile report ?

Gert

daroojoo

I divided large language 2 entries with Microsoft Word and now my problem has been solved. (though application speed still is a bit low). thanks.