Configure JVM to avoid "PermGen space" error