PermGen settings made configurable (settings removed for jdk8 and jdk9)