-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
程序退出时内存泄漏 #45
Comments
我这样改了,不确定是否正确 bool LogerManager::stop()
} |
内存会被系统回收, 并且freelist中的用以重用的驻留内存块数不超过200个, 做这些事情是多余的. |
你好,你这个可重用的驻留内存块使用前提是进程不退出的情况下吧,如果对于服务端多进程模式,每笔业务开启一个进程,业务完成进程退出(正常或者异常),这种情况下驻留内存能保证不增长吗?抱歉,我还没有看代码 |
这里驻留内存的意思是 在进程的生命周期内这些内存不会释放, 进程退出后 所有内存内存都会被系统回收掉. |
程序退出时,_freeLogDatas 没有正确释放掉
The text was updated successfully, but these errors were encountered: