Sini, I assume that content pump is copying a fixed number of documents with every transaction, and in your case that number is too high for your server and document size, but I'm not an expert on content pump.
Expanded Tree Cache Full occurs when a single (transactional, atomic) operation tries to work with a large amount of data and you don't have enough RAM in the server's Expanded Tree cache, which is defined in the "group" settings for the host running the operation. Do you have either very large documents or very small amount of RAM on the machine? MarkLogic assigns a set portion of the system RAM to that cache when you install the software, so the RAM on the machine at install time will determine cache settings. Yours, Damon -- Damon Feldman Sr. Principal Consultant, MarkLogic From: [email protected] [mailto:[email protected]] On Behalf Of sini narayanan Sent: Thursday, March 07, 2013 6:50 AM To: MarkLogic Developer Discussion Subject: [MarkLogic Dev General] Tree Cache Ful 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<http://mark.travelcom.michelin-travel.com> Could anyone please help me. Thanks, Sini
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
