查看完整版本: [--
postEvent()在macos下内存泄漏严重????
--]
QTCN开发网
->
Qt基础编程
->
postEvent()在macos下内存泄漏严重????
[打印本页]
登录
->
注册
->
回复主题
->
发表主题
lizuoshu223
2022-04-24 20:04
postEvent()在macos下内存泄漏严重????
我的macos应用频繁的使用了postEvent()函数,大概1秒5次,结果发现内存泄漏严重,2个小时泄漏了1GB,这个函数不是会自动释放event对象吗?为什么没释放呢?环境是Qt6.2.1
20091001753
2022-04-24 20:45
可以考虑更新到最新的 6.3 试试
toby520
2022-04-25 10:35
你可以在windows上面试试,macos平台 内内存释放不及时 或者不会释放,jingzhi一段时间 会降下去?
查看完整版本: [--
postEvent()在macos下内存泄漏严重????
--] [--
top
--]
Powered by
phpwind
v8.7
Code ©2003-2011
phpwind
Gzip disabled