You are here: C++ Support Classes > dtSearch Namespace > Classes > DIndexJob Class > DIndexJob::SetMaxMemToUseMB Method
dtSearch Text Retrieval Engine Programmer's Reference
DIndexJob::SetMaxMemToUseMB Method
void SetMaxMemToUseMB(long v);

Limit the amount of memory that the indexer will use for workspace. nMegabytes is the number of megabytes to use, so 32 would mean 32 megabytes of memory. By default, the indexer will calculate how much memory to use based on the size of the document collection being indexed and the amount of physical RAM available (no more than 50% of the amount of physical RAM installed will be used).

Copyright (c) 1995-2022 dtSearch Corp. All rights reserved.