java.lang.OutOfMemoryError: GC overhead limit exceeded

Stack Overflow | Mr.WorshipMe | 9 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.

Root Cause Analysis

  1. java.lang.OutOfMemoryError

    GC overhead limit exceeded

    at opennlp.tools.util.featuregen.WindowFeatureGenerator.createFeatures()
  2. opennlp.tools.util
    CachedFeatureGenerator.createFeatures
    1. opennlp.tools.util.featuregen.WindowFeatureGenerator.createFeatures(WindowFeatureGenerator.java:112)
    2. opennlp.tools.util.featuregen.AggregatedFeatureGenerator.createFeatures(AggregatedFeatureGenerator.java:79)
    3. opennlp.tools.util.featuregen.CachedFeatureGenerator.createFeatures(CachedFeatureGenerator.java:69)
    3 frames
  3. opennlp.tools.namefind
    NameFinderEventStream.createEvents
    1. opennlp.tools.namefind.DefaultNameContextGenerator.getContext(DefaultNameContextGenerator.java:118)
    2. opennlp.tools.namefind.DefaultNameContextGenerator.getContext(DefaultNameContextGenerator.java:37)
    3. opennlp.tools.namefind.NameFinderEventStream.generateEvents(NameFinderEventStream.java:113)
    4. opennlp.tools.namefind.NameFinderEventStream.createEvents(NameFinderEventStream.java:137)
    5. opennlp.tools.namefind.NameFinderEventStream.createEvents(NameFinderEventStream.java:36)
    5 frames
  4. opennlp.tools.util
    AbstractObjectStream.read
    1. opennlp.tools.util.AbstractEventStream.read(AbstractEventStream.java:62)
    2. opennlp.tools.util.AbstractEventStream.read(AbstractEventStream.java:27)
    3. opennlp.tools.util.AbstractObjectStream.read(AbstractObjectStream.java:32)
    3 frames
  5. opennlp.tools.ml
    AbstractEventTrainer.train
    1. opennlp.tools.ml.model.HashSumEventStream.read(HashSumEventStream.java:46)
    2. opennlp.tools.ml.model.HashSumEventStream.read(HashSumEventStream.java:29)
    3. opennlp.tools.ml.model.TwoPassDataIndexer.computeEventCounts(TwoPassDataIndexer.java:130)
    4. opennlp.tools.ml.model.TwoPassDataIndexer.<init>(TwoPassDataIndexer.java:83)
    5. opennlp.tools.ml.AbstractEventTrainer.getDataIndexer(AbstractEventTrainer.java:74)
    6. opennlp.tools.ml.AbstractEventTrainer.train(AbstractEventTrainer.java:91)
    6 frames
  6. opennlp.tools.namefind
    NameFinderME.train
    1. opennlp.tools.namefind.NameFinderME.train(NameFinderME.java:337)
    1 frame