I am running ActiveMQ 5.15.8 and MCollective client on Ubuntu 18. With every request, number of tasks increases by 4.
sudo systemctl status activemq | grep Tasks
At some point, Out of memory
is reached and ActiveMQ must be restarted.
How to recover allocated memory and force releasing completed tasks?