Memory leak occurring in WP can lead to system failure as a result of running out of memory

Document ID : KB000087318
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
N/A

If WP's are started, they will allocate more and more memory unitl they are either restarted or the machine crashes with 'out of memory' errors.

This only affects WP's. DWP's, JWP's and CP's are not affected.

Investigation

Within the log file for the WP's you can see memory being allocated with messages similar to these:

U00003409 'INPUT'-memory successfully allocated (Adresse = '0x81dd8b10', Länge = '68608/67k').
U00003409 'INPUT'- memory successfully allocated (Adresse = '0x81d62d60', Länge = '69632/68k').
U00003409 'INPUT'- memory successfully allocated (Adresse = '0x81e40e40', Länge = '70656/69k').
U00003409 'INPUT'- memory successfully allocated (Adresse = '0x81dd7f30', Länge = '71680/70k')

Every minute more memory is allocated.

This happens until no memory is available on the machine, and the system fails.

This does not occur necessarily on every system, but we have seen this on a Linux system running the Automation Engine.

 

Environment:
OS: Linux
Cause:
Cause type:
Defect
Root Cause: ACTIVATE_UC_OBJECT in combination with PASS_VALUES caused an memory leak in a WP. Every time the memory consumption increased by the size of the passed variables values.
Resolution:
 Update to a fix version listed below or a newer version if available.

Fix Status: Released

Fix Version(s):
Automation Engine

Automation Engine 12.1.0 – Available
Automation Engine 12.0.2 – Available
Automation Engine 11.2.4 – Available
Automation Engine 11.1.6 - Available
Additional Information:
Workaround :
Restart the WP regularly to force it to release the cached memory and avoid the system failure.