-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在虚拟机上运行Ganswer.jar的时候出现错误 #44
Comments
您好!根据错误信息显示,您运行gAnswer时的栈空间不足。要运行完整的dbpedia数据,需要20G左右的运行内存。您可以用环境变量来给java分配足够的内存。 |
您好,我使用了您的小型数据集,发现是可以运行的,但是在将gstore进行本地搭建的时候遇到了一些问题,我找不到您项目中gstore内的数据,希望您能帮助我
…------------------ 原始邮件 ------------------
发件人: "Nick Lin"<[email protected]>;
发送时间: 2020年7月6日(星期一) 下午3:09
收件人: "pkumod/gAnswer"<[email protected]>;
抄送: "饶海笛"<[email protected]>; "Author"<[email protected]>;
主题: Re: [pkumod/gAnswer] 在虚拟机上运行Ganswer.jar的时候出现错误 (#44)
您好!根据错误信息显示,您运行gAnswer时的栈空间不足。要运行完整的dbpedia数据,需要20G左右的运行内存。您可以用环境变量来给java分配足够的内存。
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
你好。我们上传了dbpedia用于建库的nt文件: |
谢谢您!
…------------------ 原始邮件 ------------------
发件人: "pkumod/gAnswer" <[email protected]>;
发送时间: 2020年7月13日(星期一) 晚上6:46
收件人: "pkumod/gAnswer"<[email protected]>;
抄送: "饶海笛"<[email protected]>;"Author"<[email protected]>;
主题: Re: [pkumod/gAnswer] 在虚拟机上运行Ganswer.jar的时候出现错误 (#44)
你好。我们上传了dbpedia用于建库的nt文件:
https://pan.baidu.com/s/1jQ_jGTniflzoqBhpz5tjnw 提取码 rpev
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Loading default properties from tagger edu/stanford/nlp/models/pos-tagger/english-left3words/english-left3words-distsim.tagger
Reading POS tagger model from edu/stanford/nlp/models/pos-tagger/english-left3words/english-left3words-distsim.tagger ... done [3.0 sec].
Adding annotator lemma
Loading parser from serialized file edu/stanford/nlp/models/lexparser/englishPCFG.ser.gz ... done [1.0 sec].
Loading MaltParser ...ok!
Loading classifier from /home/raobuling/Documents/Ganswer/./././lib/stanford-ner-2012-11-11/classifiers/english.all.3class.distsim.crf.ser.gz ... done [3.9 sec].
/home/raobuling/Documents/Ganswer
NLPatterns.loadPredicateId() : ok!
Warning: DBO not found id count: 34
NLPatterns.loadDboPredicate() : ok!
Number of NL-Patterns-to-predicate mappings = 117885
NLPatterns.size = 31333
Predicate.size = 59347
Warning: Predicates not in DBpedia 2014 count: 1
Jun 20, 2020 8:45:04 PM edu.stanford.nlp.process.PTBLexer next
WARNING: Untokenizable: ိ (U+102D, decimal: 4141)
Jun 20, 2020 8:45:15 PM edu.stanford.nlp.process.PTBLexer next
WARNING: Untokenizable: (U+200C, decimal: 8204)
NLPatterns.addPredicateAsNLPattern(): ok!
NLPatterns.addHandwriteAsNLPattern(): ok!
NLPatterns.Paradict() : ok!
NLPatterns.buildInvertedIndex(): ok!
Loading entity id ...
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:3181)
at java.util.ArrayList.grow(ArrayList.java:265)
at java.util.ArrayList.ensureExplicitCapacity(ArrayList.java:239)
at java.util.ArrayList.ensureCapacityInternal(ArrayList.java:231)
at java.util.ArrayList.add(ArrayList.java:462)
at java.lang.String.split(String.java:2353)
at java.lang.String.split(String.java:2422)
at lcn.EntityFragmentFields.load(EntityFragmentFields.java:37)
at qa.Globals.init(Globals.java:72)
at application.GanswerHttp.main(GanswerHttp.java:71)
在虚拟机上运行java -jar Ganswer.jar 命令的时候出现这个错误,不知道原因,希望能得到解答,谢谢!
The text was updated successfully, but these errors were encountered: