ZLMediaKit / ZLMediaKit

WebRTC/RTSP/RTMP/HTTP/HLS/HTTP-FLV/WebSocket-FLV/HTTP-TS/HTTP-fMP4/WebSocket-TS/WebSocket-fMP4/GB28181/SRT server and client framework based on C++11
https://docs.zlmediakit.com
Other
13.7k stars 3.38k forks source link

Memory usage rate cannot be reduced #3928

Open qianniana opened 3 hours ago

qianniana commented 3 hours ago

Phenomenon Description

After stopping playback, ZLMediait's memory usage does not automatically decrease. The memory usage will only decrease after restarting ZLMediait.

How to reproduce?

Related logs or screenshots

Expand to view detailed logs

```
#Please paste the detailed log here!
```

Configuration

Please expand to view detailed configuration

```ini
#Please paste the contents of the config.ini file here!
```

Various environment information

现象描述

停止播放之后,ZLMediait 的内存占用率不会自动下降。需要重启ZLMediait 内存占用率才会下降

如何复现?

相关日志或截图

展开查看详细日志

```
#详细日志粘在这里!
```

配置

展开查看详细配置

```ini
#config.ini内容粘在这里!
```

各种环境信息

TRANS_BY_GITHUB_AI_ASSISTANT

xia-chu commented 2 hours ago

This is normal as long as it doesn't cause OOM, it's considered normal.

这是正常的 只要不会导致oom 就算正常

TRANS_BY_GITHUB_AI_ASSISTANT