> On 5 Aug 2015, at 15:30, Marko Pance <[email protected]> wrote:
> 
> Thanks for your response. I am using the riot utility successfully on smaller 
> file sizes. But for large ones I get a " 
> 
> java.lang.OutOfMemoryError: GC overhead limit exceeded" error message.

I think you’re converting to rdf/xml? That doesn’t stream, so it will take 
memory.

You can use —stream <format> to ensure steaming:

$ bin/riot --stream rdfxml input.rdf
Language 'RDF/XML' not registered for streaming.
Streaming languages:
   TriX
   Turtle
   N-Quads
   RDF-THRIFT
   TriG
   N-Triples
Non-streaming languages:
   RDF/JSON
   JSON-LD
   RDF/XML

> Is there a way I can increase the heap size allocated to the JVM with a 
> command line option? 

$ export JVM_ARGS=-Xmx1G # or whatever you want
$ riot ….

Damian

-- 
Damian Steer
Senior Technical Researcher
Research IT
+44 (0) 117 928 7057

Reply via email to