java.lang.OutOfMemoryError: Java heap space

GitHub | jackalsin | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    mac下 heap Size

    GitHub | 8 months ago | jackalsin
    java.lang.OutOfMemoryError: Java heap space

    Root Cause Analysis

    1. java.lang.OutOfMemoryError

      Java heap space

      at com.hankcs.hanlp.dictionary.CoreDictionary.loadDat()
    2. com.hankcs.hanlp
      HanLP.segment
      1. com.hankcs.hanlp.dictionary.CoreDictionary.loadDat(CoreDictionary.java:141)
      2. com.hankcs.hanlp.dictionary.CoreDictionary.load(CoreDictionary.java:63)
      3. com.hankcs.hanlp.dictionary.CoreDictionary.<clinit>(CoreDictionary.java:40)
      4. com.hankcs.hanlp.seg.common.Vertex.<clinit>(Vertex.java:56)
      5. com.hankcs.hanlp.seg.common.WordNet.<init>(WordNet.java:71)
      6. com.hankcs.hanlp.seg.Viterbi.ViterbiSegment.segSentence(ViterbiSegment.java:40)
      7. com.hankcs.hanlp.seg.Segment.seg(Segment.java:441)
      8. com.hankcs.hanlp.tokenizer.StandardTokenizer.segment(StandardTokenizer.java:50)
      9. com.hankcs.hanlp.HanLP.segment(HanLP.java:386)
      9 frames
    3. Unknown
      Main.main
      1. Main.main(Main.java:30)
      1 frame