increased -XX:MaxPermSize from 512m to 1g