Marklogic version : 9.0-6.2 mlcp version: 9.0.6
I am trying to import XML file into marklogic using MLCP uisng below code.
#!/bin/bash
mlcp.sh import -ssl \
-host localhost \
-port 8010 \
-username uname \
-password pword \
-mode local \
-input_file_path /data/testsource/*.XML \
-input_file_type documents \
-aggregate_record_namespace "http://new.webservice.namespace" \
-output_collections testcol \
-output_uri_prefix /testuri/ \
-transform_module /ext/ingesttransform.sjs
The code is running successfully with a small file but giving 'java heap space' error when run with large file (450 MB).
ERROR contentpump.MultithreadedMapper: Error closing writer: Java heap space
How could we resolve this error?