Dear all,
I am trying to write an RDF file to disk, using the following code:
resultModel.write(new BufferedWriter(new FileWriter("file.rdf")), "N3");
All works ok when the file is less than 100mb.
When the file is larger, this has a strange behaviour: the program does not 
throw an exception, java runtime does not throw an out-of-memory error, and yet 
the file does not get written. I have increased java memory to -Xmx3072m
The same model can be successfully stored using SDB (>1.5 million triples), so 
I guess the problem is not in the model. I guess it is a general Java issue? 
(http://www.java-forums.org/new-java/42031-writing-huge-sized-file-data-more-than-100mb-output-stream-converting-byte.html)
Did anyone else have this issue? Has anyone succeeded in writing rdf files 
larger than 100mb to disk (and how)?

Thank you in advance for your support.
Best regards,Nikolaos Konstantinou
                                          

Reply via email to