Consultor Eletrônico



Kbase P9849: Parsing XML Documents Via The DOM Parser Causes Memory Leaks
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   15/10/2008
Status: Verified

FACT(s) (Environment):

Progress 9.1D
IBM AIX

SYMPTOM(s):

Application fetches XML documents from a web site

Application leaks memory

CHANGE:

Application was changed to process the XML documents using the DOM parser

CAUSE:

Application did not properly handle object allocation and deallocation of the 4GL objects that are required to interface with the DOM Parser

FIX:

Rewrite the XML parsing code so that it uses the SAX parser that is available in Progress 9.1D instead of the DOM parser (the SAX parser is much simpler to use and requires minimal usage of objects)