[ruby-core:120173] [Ruby master Bug#20942] Infinite loop when out of memory