Increased heap and perm sizes due to 'java.lang.OutOfMemoryError: PermGen space' errors after the upgrade.