Making a large dictionary: getting heap errors

Started by iacovoni, 18. May 2007, 12:25:45

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

iacovoni

I'm trying to convert some large dictionaries I had to the dictionary for MIDs form but keep getting heap errors.

Can you please post the DictionaryForMIDs.properties of the large wordnet dictionary you already created? Would be very helpfull as the overall size more or less is the same. Thanks again!

Gert

Do you get the heap problems with DictionaryGeneration ? If yes, then just try to add an "-Xmx 300M" to the command line. That gives 300 MB space (or use whatever size you need).

Or do you have the problem when you run the DictionaryForMIDs application on your cell phone or PDA ?

For the DictionaryForMIDs.properties: you just need to download the wordnet dictionary, then in the jar file in the directory 'dictionary' you find the file DictionaryForMIDs.properties. You can open the jar file with any zip tool.

Please just keep asking - I am sure that we will solve that problem quickly.

Best greetings,
Gert

torkuhl

gert i am running into the same problem with the cedict now. it never happened before.
where and how do i put xmx 300m into the command line?

lars

torkuhl

wow
i just amazed myself!
command line:
java -Xmx300M -jar DictionaryGeneration.......

it worked