"UI updates were forcibly disabled by application"



我正在使用我的一个应用程序的新版本,time out,它使用登录项目助手进行调度。我的几个Alpha测试人员正在报告内存泄漏和过多的CPU使用...但是我也无法复制。

特别是,他们提到了性能缓慢的性能,以及许多控制台记录如下。是什么造成这一点?

1/18/14 3:06:21.754 PM WindowServer[139]: disable_update_timeout: UI updates were forcibly disabled by application "com.dejal.timeout.scheduler" for over 1.00 seconds. Server has re-enabled them.
1/18/14 3:06:21.986 PM WindowServer[139]: common_reenable_update: UI updates were finally reenabled by application "com.dejal.timeout.scheduler" after 1.23 seconds (server forcibly re-enabled them after 1.00 seconds)
1/18/14 3:26:54.418 PM WindowServer[139]: disable_update_timeout: UI updates were forcibly disabled by application "com.dejal.timeout.scheduler" for over 1.00 seconds. Server has re-enabled them.
1/18/14 3:26:55.122 PM WindowServer[139]: common_reenable_update: UI updates were finally reenabled by application "com.dejal.timeout.scheduler" after 1.72 seconds (server forcibly re-enabled them after 1.01 seconds)
1/18/14 3:31:21.083 PM WindowServer[139]: disable_update_timeout: UI updates were forcibly disabled by application "com.dejal.timeout.scheduler" for over 1.00 seconds. Server has re-enabled them.
1/18/14 3:31:21.197 PM WindowServer[139]: common_reenable_update: UI updates were finally reenabled by application "com.dejal.timeout.scheduler" after 1.12 seconds (server forcibly re-enabled them after 1.00 seconds)

我相信,drawRect内部花费太长可能引起的错误:或绘图机械的其他部分。这很可能是症状,而不是根部问题 - 根部问题是您的图纸是超级慢的。

如果可以的话,获取他们的数据文件。如果不是,请以最简单的方式进行特殊的构建,并在其中内置定时。就像,只需在各个点上插入nslog()s,并在应用程序缓慢后通过电子邮件发送给您的控制台日志。

相关内容

最新更新