日期:2014-05-20 浏览次数:20798 次
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space at java.nio.CharBuffer.wrap(CharBuffer.java:350) at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:291) at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158) at sun.nio.cs.StreamDecoder.read0(StreamDecoder.java:107) at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:93) at java.io.InputStreamReader.read(InputStreamReader.java:151) at java.io.StreamTokenizer.read(StreamTokenizer.java:483) at java.io.StreamTokenizer.nextToken(StreamTokenizer.java:556) at edu.cmu.sphinx.util.ExtendedStreamTokenizer.getString(ExtendedStreamTokenizer.java:146) at edu.cmu.sphinx.util.ExtendedStreamTokenizer.getInt(ExtendedStreamTokenizer.java:252) at edu.cmu.sphinx.linguist.acoustic.tiedstate.Sphinx3Loader.loadHMMPool(Sphinx3Loader.java:789) at edu.cmu.sphinx.linguist.acoustic.tiedstate.Sphinx3Loader.loadModelFiles(Sphinx3Loader.java:349) at edu.cmu.sphinx.linguist.acoustic.tiedstate.Sphinx3Loader.load(Sphinx3Loader.java:280) at edu.cmu.sphinx.linguist.acoustic.tiedstate.TiedStateAcousticModel.allocate(TiedStateAcousticModel.java:116) at edu.cmu.sphinx.linguist.lextree.LexTreeLinguist.allocate(LexTreeLinguist.java:341) at edu.cmu.sphinx.decoder.search.WordPruningBreadthFirstSearchManager.allocate(WordPruningBreadthFirstSearchManager.java:238) at edu.cmu.sphinx.decoder.AbstractDecoder.allocate(AbstractDecoder.java:87) at edu.cmu.sphinx.recognizer.Recognizer.allocate(Recognizer.java:168) at edu.cmu.sphinx.demo.helloworld.HelloWorld.main(HelloWorld.java:29)