setmaxnodes
setmaxnodes |
Purpose
Set the number of allocated nodes for a document.
Synopsis
procedure setmaxnodes(doc:xmldoc, m:integer)
Arguments
doc
|
Document to use
|
m
|
Number of nodes to reserve
|
Further information
This procedure sets the amount of memory reserved for a document. Normally,
mmxml allocates memory on demand but using this procedure it is possible to allocate at once a larger block of memory to possibly speedup the loading of very large documents. If the requested amount is smaller than what is required to represent the document currently held in the
doc object, the memory block is reduced as much as possible such that the document can still be stored.
Related topics
Module