Hi Walt,


Where, and which memory settings did you change? It might also help to
decrease the number of parallel threads..



Kind regards,

Geert



*Van:* [email protected] [mailto:
[email protected]] *Namens *Walt Perez
*Verzonden:* woensdag 6 november 2013 15:04
*Aan:* MarkLogic Developer Discussion
*Onderwerp:* [MarkLogic Dev General] Java Memory error with MLCP



Group,

I was wondering if anyone can help a rookie out? I am trying to load a 78mb
csv file against MLCP and I keep getting the following error…



3/11/06 09:00:26 ERROR contentpump.MultithreadedMapper: Java heap space

java.lang.OutOfMemoryError: Java heap space

at java.util.Arrays.copyOf(Arrays.java:2760)

at java.util.Arrays.copyOf(Arrays.java:2734)

at java.util.ArrayList.ensureCapacity(ArrayList.java:167)

at java.util.ArrayList.add(ArrayList.java:351)

at org.apache.commons.csv.CSVParser.getLine(CSVParser.java:244)

at
com.marklogic.contentpump.DelimitedTextReader.nextKeyValue(DelimitedTextReader.java:114)

at
com.marklogic.contentpump.LocalJobRunner$TrackingRecordReader.nextKeyValue(LocalJobRunner.java:434)



I increased the memory usage in Java to 512, then to 1024, but it does not
help. Does anybody have any suggestions? Here is my current MLCP command
options I am passing in…



import

-host

localhost

-port

8008

-username

admin

-password

admin

-mode

local

-input_file_type

delimited_text

-delimited_uri_id

stock_id

-delimiter

','

-batch_size

1000

-thread_count

25

-output_collections

fins_demo_data



Thanks,



Walt Perez

Senior Sales Engineer

Phone: +1 912 577-9057

MarkLogic Corporation
[email protected]
www.marklogic.com
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to