Skip to content
Prev 314054 / 398502 Next

Memory filling up while looping

Le vendredi 21 d?cembre 2012 ? 18:41 +0100, Peter Mei?ner a ?crit :
So you may want to use xmlParse() or the equivalent
xmlTreeParse(useInternalNodes=TRUE) instead of plain xmlTreeParse().
This will avoid creating too many R objects that will need to be freed.
But do not forget to call free() on the resulting object at the end of
the loop.

See this page for details:
http://www.omegahat.org/RSXML/MemoryManagement.html


Regards