Thursday 10 October 2013

RdfParse Exception in eclipse when using large rdf files

org.openrdf.rio.RDFParseException: The parser has encountered more than "64,000" entity expansions in this document; this is the limit imposed by the application.


This error occurs when using sparql queries because it doesnot allow you to process more than 64000 entities

Open Window -> Preferences -> Java -> Installed JRE's
edit the installed jre's
add the following to the default vm's arguments , the arguments must be separated by space.

-Xmx1024m -DentityExpansionLimit=100000