Installer OOMing exits without any notice

Description

Some of my custom actions require loads of memory. In case the memory is exhausted, an OOM occurs when AutomatedInstaller calls executePostValidateActions(). There is a catch() clause, but only on Exception, not on Error/Throwable, and a finally block, that starts with the comments

// Bye
// FIXME !!! Reboot handling

Some reboot vodoo takes place that makes any unix admin shiver (never ever let an installer reboot a unix system, but this is another story), and then HouseKeeper.shutDown() executes System.exit() without any notice.

No single line has been logged between executePostValidateActions() and System.exit() to indicate that we have a massive problem (that causes the JVM to abort) instead of a smooth installation.

Environment

None

Assignee

Unassigned

Reporter

Former user

Impact

None

Components

Sprint

None

Affects versions

Priority

Highest
Configure