| > Expat4D Home > Documentation > Command Reference |
xml_ParserFree ( parserID )
Frees the memory used by the parser identified by parserID. Once you have finished using a parser, you should call this routine to prevent memory leaks. ParserIDs are similar to hierarchical list references in that once you lose it, you have a memory leak on your hands. Expat4D has a fairly low memory requirement because of the way in which it works. You can parse as little or as much of a document at any one time as you want, so if you want to parse it in 8k chunks, that is fine with this plug-in. But it is still important that you free the parser memory as soon as you're finished with it and even more important that you don't lose the parserID which is your only connection to the parser.
See Also: xml_ParserCreate, xml_ParserCreateNS |
Developer Documentation
Creating Parsers, Destroying Parsers, Parsing TextConfiguring Handler Methods
Position and Error Reporting Functions
Miscellaneous Functions
Output Buffer Functions
Error Codes |
| > Expat4D Home > Documentation > Command Reference |
Last Modified: 27th April 2001 at 9:00 PM