作者:greybt | 来源:互联网 | 2023-06-08 20:24
| Q | A| ------------------- | -----| Bug report? | yes| Feature request?
| Q | A
| ------------------- | -----
| Bug report? | yes
| Feature request? | yes
| Swoft version | 2.0.5
| Swoole version | 4.4.3 (by
)
| PHP version | 7.2.0 (by
)
| Runtime environment | CentOS 7
Details
使用定时器后,内存溢出。(定时器内不做任何事情,只是打印当前使用内存,内存就一直在涨,最后爆了)
1 2 3 4 5
| php
public function FansMsgPush()
{
CLog::info(memory_get_usage());
} |
Provide minimal script to reproduce the issue
该提问来源于开源项目:swoft-cloud/swoft
问题已修复,请更新到 2.0.6