Our proxy was hanging because of a security change, and the cloud agents could not send their updates. This seems to have caused a large memory usage by the cloud agent and a very large swap usage ( This is on Ubuntu)
After the proxy issue was fixed the cloud agent seems to sending updates again but did not free the memory or swap until the agent was restarted.
Anyone else seen this behaviour? Anything I can do about it?