[MarkLogic Dev General] Unable to load data into MarkLogic
michael.blakeley at marklogic.com
Tue Feb 24 09:29:55 PST 2009
The message is telling you that MarkLogic Server needed to allocate
128-MB of contiguous address space in memory, and could not. That
probably means you're running the 32-bit build for Windows. Windows
seems to have problematic memory allocation policies when address space
So the OS does not have a contiguous 128-MB chunk of address space to
give to MarkLogic Server. To resolve this, you have several options,
roughly in the order that I'd choose to try them:
* Move to a 64-bit platform, where you have more address space
available. This is the best overall fix, since most applications of
MarkLogic Server will find a 32-bit address space somewhat cramped.
* Make sure your Windows page file is allowed to grow to 2x physical
* Use the boot.ini /3GB option to allow 3-GB of address space for each
process, instead of the 2-GB default. This requires a restart of Windows.
* The 128-MB is most likely the size of your database's list-size limit
plus its tree-size limit. Try reducing each by 50%. Continue reducing
until the error message goes away.
* Restart the MarkLogic Server service. This will give the process a
fresh 2-GB address space, which will probably include 128-MB of
contiguous free space. But maybe not: see next item.
* Reboot Windows. I'm no expert, but sometimes Windows seems to recycle
the address space.
Some or all of these suggestions might lead to other problems, of
course. The usual warnings about sharp tools apply.
On 2009-02-23 21:51, Vivek_Nagasundara wrote:
> I came across this exception while I was trying to load content into MarkLogic database. First I check d space on the drives but I've ample space on that. I created new forests as well but still the problem persists.
> Invalid input: SVC-MEMALLOC: Memory allocation error: VirtualAlloc 134217728 bytes: Not enough storage is available to process this command.
> Can you just guide me on this.
> Thanks and Regards,
> Vivek N
> This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.
> General mailing list
> General at developer.marklogic.com
More information about the General