Hi All,

I have 2 databases. And I'm trying to copy files in a particular collection
from DB1 to DB2.
I have a java process which internally calls content pump to copy docs
between DBs.
When the collection has vey few documents, the content copy is working
fine. But when the collection has large number of documents, it is throwing
the following error.


java.io.IOException: com.marklogic.xcc.exceptions.XQueryException:
XDMP-EXPNTREECACHEFULL: let $cols :=
(fn:collection("/doctype/xOI-xinc"))[$mlmr:splitstart to $mlmr:splitend]
for $doc in $cols let $uri := fn:base-uri($doc) return ("META", $uri,
xdmp:node-kind(($doc/element(), $doc/text(), $doc/binary(),
$doc/processing-instruction(), $doc/comment())),
xdmp:document-get-collections($uri), let $list :=
xdmp:document-get-permissions($uri) return hadoop:get-permissions($list),
xdmp:document-get-quality($uri),
xdmp:document-properties($uri)/prop:properties, 0), "EOM",
(fn:collection("/doctype/xOI-xinc"))[$mlmr:splitstart to $mlmr:splitend],
if ($mlmr:splitstart eq 1) then let $props :=
cts:search(xdmp:collection-properties("/doctype/xOI-xinc"),
cts:not-query(cts:document-fragment-query(cts:and-query(())))) for $doc in
$props let $uri := fn:base-uri($doc) return ("META", $uri,
xdmp:node-kind(($doc/element(), $doc/text(), $doc/binary(),
$doc/processing-instruction(), $doc/comment())),
xdmp:document-get-collections($uri), let $list :=
xdmp:document-get-permissions($uri) return hadoop:get-permissions($list),
xdmp:document-get-quality($uri), $doc/prop:properties, 0) else () --
Expanded tree cache full on host mark.travelcom.michelin-travel.com


Could anyone please help me.

Thanks,
Sini
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to