BTW - the very long time may be the garbage collector on a nearly exhausted heap.

Actually, this couples with the way the data is being written.

The RDFFormat.RDFXML_PLAIN does not have expensive corner cases.

    Andy

On 12/02/2021 11:45, emri mbiemri wrote:
Dear all,

Do you know how I can merge some thousands RDF models into a single one?
I have tried it by iteration through all files within a folder and then using Jena's union function to merge them one by one! The problem is that the program is running for more than 13  hours and is still not stopping (with only 50 models as test).

So far I have close to 700 models, in total 68MB.

Attached you seen the code I am using for.

Do you have any idea what I can do to merge all these files into a single knowledge-graph?

Thanks for your help.

Reply via email to