Kbase P183754: Memory leak in READ-XML-SCHEMA() and READ-XML methods on HP-UX 64-bit
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  15/03/2011 |
|
Status: Unverified
SYMPTOM(s):
Memory leak in READ-XML-SCHEMA() and READ-XML methods on HP-UX 64-bit
Reading the same XSD and XML into a dynamic temp-table repeatedly shows an increase in the client's private memory use
ABL code does clean up objects correctly
Code similar to the following will show the issue:
DEFINE VARIABLE lcXMLData AS LONGCHAR NO-UNDO.
DEFINE VARIABLE cXsdFile AS CHARACTER NO-UNDO.
DEFINE VARIABLE lRetOk2 AS LOGICAL NO-UNDO.
DEFINE VARIABLE iCounter AS INTEGER NO-UNDO.
DEFINE VARIABLE hTempTable AS HANDLE NO-UNDO.
/* replace file names as needed */
cXsdfile = "myXSD.xsd".
COPY-LOB FROM FILE "myXML.xml" TO lcXMLData.
REPEAT iCounter = 1 TO 10000:
CREATE TEMP-TABLE hTempTable.
lRetOk2 = hTempTable:READ-XMLSCHEMA ("FILE",
cXsdfile,
NO).
lRetOk2 = hTempTable:READ-XML ("LONGCHAR",
lcXMLData,
"EMPTY",
cXsdfile,
?,
?,
?).
DELETE OBJECT hTempTable.
END.
MESSAGE lRetOk2.
FACT(s) (Environment):
OpenEdge 10.2x
HP-UX 11i
CAUSE:
Bug# OE00205489
FIX:
None at this time