[XQZone General] Internal error: St9bad_alloc
jhunter at marklogic.com
Fri Jul 1 14:02:25 PDT 2005
Before loading a large document, you need to make sure you add in the
database configuration a list of fragmentation roots. These tell the
server the locations within documents at which it should break the
document into smaller pieces, thus allowing documents of arbitrary size
to be loaded. Fragments are the basic unit of IO within MarkLogic
Server. You typically want fragments sized between 10k to 50k. Too
big, and you read more from disk than you'd really want. Too small, and
you're paying for fixed fragment maintenance overhead too often.
Exactly where you set the cut points depends on your app's behavior.
This is all explained in the training course for customers.
Chris Chrysostom wrote:
> I used the xdmp:load function to attempt loading a 122MB file. That
> resulted in an error message, "XDMP-INTERNAL: Internal error:
> St9bad_alloc." My guess is that my system didn't have enough memory to
> load this document. Is that correct?
> Platform: Slackware 10.1, kernal 2.4.29, i686, 512MB RAM
> General mailing list
> General at xqzone.marklogic.com
More information about the General