The database upgrade scripts add an index to the ownerId column of the accounts table. An upgrade of an installation with many accounts will take significant time to process the database upgrade script due to the creation of a new index on a large table. (ID-19314)
A problem with out-of-memory exceptions during upgrades has been fixed. Previously during upgrades, the Java VM maximum heap size was hardcoded to 256 MB. This hardcoded value has been removed. (ID-19407)
Now it is possible to set the JAVA_OPTS environment variable to a custom value. If no value is provided, a default value of 1024 MB is used.
To define the maximum heap size value, set the JAVA_OPTS environment variable using the form —XmxHeapSize where HeapSize is a value, such as 512m. An example is -Xmx512m.