neosemantics icon indicating copy to clipboard operation
neosemantics copied to clipboard

Java runs out of memory on import

Open jmugan opened this issue 6 years ago • 0 comments

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.

jmugan avatar Mar 06 '19 01:03 jmugan