java.lang.OutOfMemoryError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • java.lang.OutOfMemoryError: Java heap space at com.hankcs.hanlp.dependency.nnparser.Matrix.load(Matrix.java:1305) at com.hankcs.hanlp.dependency.nnparser.NeuralNetworkParser.load(NeuralNetworkParser.java:259) at com.hankcs.hanlp.dependency.nnparser.NeuralNetworkParser.load(NeuralNetworkParser.java:135) at com.hankcs.hanlp.dependency.nnparser.parser_dll.<clinit>(parser_dll.java:34) at com.hankcs.hanlp.dependency.nnparser.NeuralNetworkDependencyParser.parse(NeuralNetworkDependencyParser.java:53) at com.hankcs.hanlp.dependency.AbstractDependencyParser.parse(AbstractDependencyParser.java:46) at com.hankcs.hanlp.dependency.nnparser.NeuralNetworkDependencyParser.compute(NeuralNetworkDependencyParser.java:93) at com.hankcs.hanlp.HanLP.parseDependency(HanLP.java:407) at hanlp.DemoDependencyParser.main(DemoDependencyParser.java:26)
No Bugmate found.