Skip to main content

[archive] C$XML problem to release parser

  • April 13, 2009
  • 2 replies
  • 0 views

[Migrated content. Thread originally posted on 09 April 2009]

Hi to all,
I have a problem with C$XML;

When I initialize a parse of an existing file with the instruction:

call "C$XML" using CXML-PARSE-FILE file-xml.
move return-code to parser-handle.


the ammount of memory increase but when I release the parser with the instruction:

call "C$XML" using CXML-RELEASE-PARSER, PARSER-handle.

the runtime don't free the memory and after several CXML-PARSE-FILE instruction the program hang with a "buffers overrun detected" error.

Have you any idea to solve the problem?

I've the problem with acu runtime 7.0.1 and 7.2.0

Thanks a lot.

2 replies

[Migrated content. Thread originally posted on 09 April 2009]

Hi to all,
I have a problem with C$XML;

When I initialize a parse of an existing file with the instruction:

call "C$XML" using CXML-PARSE-FILE file-xml.
move return-code to parser-handle.


the ammount of memory increase but when I release the parser with the instruction:

call "C$XML" using CXML-RELEASE-PARSER, PARSER-handle.

the runtime don't free the memory and after several CXML-PARSE-FILE instruction the program hang with a "buffers overrun detected" error.

Have you any idea to solve the problem?

I've the problem with acu runtime 7.0.1 and 7.2.0

Thanks a lot.
Have you checked with Customer Care to see if this is a known issue?

[Migrated content. Thread originally posted on 09 April 2009]

Hi to all,
I have a problem with C$XML;

When I initialize a parse of an existing file with the instruction:

call "C$XML" using CXML-PARSE-FILE file-xml.
move return-code to parser-handle.


the ammount of memory increase but when I release the parser with the instruction:

call "C$XML" using CXML-RELEASE-PARSER, PARSER-handle.

the runtime don't free the memory and after several CXML-PARSE-FILE instruction the program hang with a "buffers overrun detected" error.

Have you any idea to solve the problem?

I've the problem with acu runtime 7.0.1 and 7.2.0

Thanks a lot.
Have you checked with Customer Care to see if this is a known issue?

Hi Dilbert,
I've discovered the problem; any time the cobol procedure write in the XML file, the runtime append a comment after the xml definition:



Probably when the size of the comment becomes too large the C$XML parser crash with the Buffers Overrun runtime error.

I've solved the problem in this way:
- open the xml file
- read the first element
- delete the comment

this prevent that the comment becomes too large (only one comment will be written).

Thanks to all
Umberto