Further improving OOM handling in early stages of main()