---
title: 如何处理调优过程中"Out of memory"问题引起的进程异常退出
description: "在调优过程中，可能会出现如下类似报错。"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/devaids/aoe/aoerc_16_0095.html
sourcePath: /source/zh/canncommercial/900/devaids/aoe/aoerc_16_0095.html
indexId: 1c401b318f405ed066e3f721702d149a3989d9be085a50b19845b6500248f6eb60
---
# 如何处理调优过程中"Out of memory"问题引起的进程异常退出

#### 问题现象

在调优过程中，可能会出现如下类似报错。

现象1：调优直接异常终止。


现象2：触发进程退出。


#### 解决方案

通过dmesg命令确认操作系统是否触发"Out of memory"导致进程退出。

dmesg |grep "Out of memory"

系统显示如下类似信息，表示触发了"Out of memory"。

```
[519308.099433]
Out of memory
: Killed process 994362 (aoe) total-vm:23064888kB, anon-rss:16472380kB, file-rss:0kB, shmem-rss:0kB, UID:0 pgtables:35352kB oom_score_adj:0
```

解决方案是：更换为有更大Host内存的调优环境。
