IBM Support

IBM Streams 4.2.0.0 and 4.2.0.1 Java primitive operator memory leak

Flashes (Alerts)


Abstract

In IBM Streams 4.2.0.0 and 4.2.0.1, Java primitive operators leak memory over time in the
streams-distributed-pe process and may cause unnecessary downtime.

Content

To monitor the increase in 'RES' column of the memory usage, enter the following command:

top -p `ps aux | grep [s]treams-dist | awk  -vORS=, '{print $2}'
|  sed 's/,$/\n/'`


The rate of the leak is application dependent. To avoid unnecessary downtime due to excessive memory usage, periodically cancel and restart jobs as needed depending on the rate of leak observed with the top command.

The leak is related to the periodic collection of metrics. The rate of the leak can be decreased by increasing the instance property hc.metricCollectionInterval from the default of 3 seconds, but this will adversely affect the ability to monitor streams from console or other methods. You can adjust this property with the command:

streamtool setproperty -d <domain> -i <instance> hc.metricCollectionInterval=<value in seconds>

The product fix for this issue can being tracked with the APAR IT18117

Related Information

[{"Product":{"code":"SSCRJU","label":"IBM Streams"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Runtime","Platform":[{"code":"PF016","label":"Linux"}],"Version":"4.2","Edition":"All Editions","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
25 September 2022

UID

swg21995787