关于使用Sparqlquery tab 出现问题的描述:
打开sparql query 经常出现卡机,不能操作等问题,有时就会出现下面的错误提示:
2018-06-0408:25:15.955 [AWT-EventQueue-0] ERROR ProtegeApplication Uncaught Exception in thread'AWT-EventQueue-0'
java.lang.OutOfMemoryError:GC overhead limit exceeded
atjava.util.TreeMap.put(TreeMap.java:577) ~[na:1.8.0_40]
atorg.semanticweb.owlapi.util.DefaultPrefixManager.setPrefix(DefaultPrefixManager.java:197)~[na:na]
找到很长时间,得到的答案是:
Theproblem has been reported on the Protege issue tracker #625 [1]. Apparentlyit’s caused by the SPARQL tab using some non-public OWL API constructors andclasses that have changed recently. The work-around is to use the Snap SPARQLQuery instead.(这里说是在5.2版本中出现,但是我用的是5.0,不知道为什么也出现了相同的问题,或许是我用的OWLAPI比较新的缘故吧)
给出的建议是用snap sparql query ……果断放弃Sparql Query Tab