Modified the permgen to metaspace