use pre-allocated RuntimeError for out-of-memory
indent ISO section comments
mark pre-allocated exception