DictionaryForMids Forum

DfM-Creator => DfM-Creator - DictionaryGeneration => Topic started by: iacovoni on 18. May 2007, 12:25:45

Title: Making a large dictionary: getting heap errors
Post by: iacovoni on 18. May 2007, 12:25:45
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!
Title: Re: Making a large dictionary: getting heap errors
Post by: Gert on 18. May 2007, 19:16:09
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
Title: Re: Making a large dictionary: getting heap errors
Post by: torkuhl on 23. October 2007, 20:07:34
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
Title: Re: Making a large dictionary: getting heap errors
Post by: torkuhl on 23. October 2007, 20:14:32
wow
i just amazed myself!
command line:
java -Xmx300M -jar DictionaryGeneration.......

it worked