看着我正在编写的Android应用程序的Dalvik调试器,我注意到有一组不断重复的通知,每次都有不断增加的Frank句柄数。我推测我的应用程序有内存泄漏,当删除我的应用程序没有修复它时我重置了手机(HTC Tattoo,运行1.6)。但是,将调试器连接到完全干净的手机(即在安装我的应用程序之前),我仍然看到同样的重复通知,并且Frank句柄计数继续增加。
任何人都知道发生了什么;这是红鲱鱼吗?
钽, 欧文
这里是日志文件的重复位(道歉,但我无法弄清楚如何理智地格式化 - 让我知道并且我将正确地重新格式化):< / p>
07-23 16:40:58.209: INFO/LogService(590): 2011-07-23 16:40:58 127.0.0.1 - 127.0.0.1 8182 GET /info/ - 200 911 0 52 http://null - -
07-23 16:40:58.209: INFO/Server(590): Addition of the standard header "pragma" is discouraged as a future versions of the Restlet API will directly support it.
07-23 16:40:58.219: WARN/Server(590): Addition of the standard header "cache-control" is not allowed. Please use the equivalent property in the Restlet API.
07-23 16:40:58.219: WARN/Server(590): Addition of the standard header "expires" is not allowed. Please use the equivalent property in the Restlet API.
07-23 16:40:58.339: INFO/global(590): Default buffer size used in BufferedInputStream constructor. It would be better to be explicit if an 8k buffer is required.
07-23 16:40:58.339: INFO/global(590): Default buffer size used in BufferedOutputStream constructor. It would be better to be explicit if an 8k buffer is required.
07-23 16:40:58.349: INFO/LogFilter(590): Couldn't find the mandatory "Host" HTTP header.
07-23 16:40:58.369: DEBUG/Frank Liu(590): enter FDInfo-handle
07-23 16:40:58.369: DEBUG/Frank Liu(590): Frank handle count = 683
07-23 16:40:58.369: DEBUG/Frank Liu(590): after block thread
07-23 16:40:58.369: DEBUG/Frank Liu(590): enter FDInfo-represent
07-23 16:40:58.379: DEBUG/Frank Liu(590): new jsonresp successfully
07-23 16:40:58.379: DEBUG/Frank Liu(590): begin put jsonresp
07-23 16:40:58.389: DEBUG/Frank Liu(590): end put jsonresp
07-23 16:40:58.409: DEBUG/Frank Liu(590): exit FDInfo-represent
07-23 16:40:58.409: DEBUG/Frank Liu(590): exit FDInfo-handle
答案 0 :(得分:0)
我建议的第一件事是找出什么应用程序。我假设您正在使用pids打印日志(虽然这很难,因为您的日志粘贴全部被包装);如果是这样使用“ps”来找出谁是pid 590.希望这是你可以卸载的第三方应用程序。