CLOUDIFY-2260 fixed PermGen OOME.