解决idea出现的java.lang.OutOfMemoryError: Java heap space的问题

  Exception in thread "main" java.lang.OutOfMemoryError: Java heap space

  at org.apdplat.word.dictionary.impl.DoubleArrayDictionaryTrie.allocate(DoubleArrayDictionaryTrie.java:188)

  at org.apdplat.word.dictionary.impl.DoubleArrayDictionaryTrie.init(DoubleArrayDictionaryTrie.java:207)

  at org.apdplat.word.dictionary.impl.DoubleArrayDictionaryTrie.addAll(DoubleArrayDictionaryTrie.java:307)

  at org.apdplat.word.dictionary.DictionaryFactory$DictionaryHolder$1.load(DictionaryFactory.java:116)

  at org.apdplat.word.util.AutoDetector.loadAndWatch(AutoDetector.java:102)

  at org.apdplat.word.dictionary.DictionaryFactory$DictionaryHolder.reload(DictionaryFactory.java:87)

  at org.apdplat.word.dictionary.DictionaryFactory.reload(DictionaryFactory.java:65)

  at org.apdplat.word.dictionary.DictionaryEnum.createDictionary(DictionaryEnum.java:65)

  at org.apdplat.word.dictionary.DictionaryEnum.(DictionaryEnum.java:20)

  at com.zjs.Application.main(Application.java:42)