neosemantics
neosemantics copied to clipboard
Java runs out of memory on import
I've got 1 million RDF triples and I get the error
error cannot allocate memory
There is insufficient memory for the Java runtime environment to continue.
Native memory allocation (mmap) failed to map 549453824 bytes for committing reserved memory.
when I run the command
CALL semantics.importRDF("file:///home/jmugan/my_file.tql","TriG", { shortenUrls: false, nodeCacheSize: 2500, commitSize: 500})
I thought that the nodeCacheSize or commitSize parameters might fix it, but they did not. Is there another parameter I should look at? I'm not worried about how slow it is.