java.lang.OutOfMemoryError database error

(TechNote) During the upgrade from Breeze 4.1 to Breeze 5.0, the log produces a “java.lang.OutOfMemoryError” message. As a result, the Breeze upgrade process is aborted.