ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Prediction Engine Stops Processing messages until restarted.


Article ID: 4720


Updated On:


DX Unified Infrastructure Management (Nimsoft / UIM) NIMSOFT PROBES


The prediction_engine probe may stop processing messages over time.  The probe will be seen in Task Manager to be using 100% of the allocated RAM.  The prediction_engine queue will be seen to grow without reducing, until the probe is restarted, which will cause processing to resume again for a time.


This is caused by a combination of RAM settings and Java Garbage Collection.


Release: CNMSPP99000-8.47-Unified Infrastructure Mgmt-Server Pack-- On Prem


To resolve this issue, we will increase the amount of RAM allocated to the probe, and change the garbage collection method.

To do this, edit the prediction_engine.cfg and look for this section:




      java_mem_init = -Xms64m

      java_mem_max = -Xmx512m

      java_opts = -XX:+UseConcMarkSweepGC -XX:+ScavengeBeforeFullGC -XX:+UseParNewGC



Change it to look like this:




      java_mem_init = -Xms64m

      java_mem_max = -Xmx4096m

      java_opts = -XX:+UseG1GC 



Deactivate and re-activate the probe to accept the new settings.