There are some errors that cannot be caught because it interferes with the JVM as it cannot continue further (OOM)