Persistent monitoring classes should also go on soft heap

Redmine #5132 (2)