LacaK wrote:
Btw is there any limit for number of memory block, which can be requested ? As far as my XML file has milions of nodes, may be that for each node is created instance of TDOMNode class (or TDOMElement I do not know), which in turn can cause that there is large amount of relative small memory blocks ...
There is no limit, other than the fact that every block has some overhead, and hence you can allocate less memory in total if you allocate tons of small blocks instead of a few large ones. It's just 16 or 32 bytes per block though, so even with millions of blocks you won't lose more than a few tens of megabytes.
Jonas _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal