Prefetcher max cache size reached

一曲冷凌霜 提交于 2020-01-03 02:47:06

问题


After working a while with my Mediaplayer streamer project I got the Logcat saying: "Max cache size reached" every second. Is it normal? And should I do something about it? It plauges me and I have to restart my emulator to get rid of it.

08-17 17:34:28.772: INFO/Prefetcher(34): max cache size reached
08-17 17:34:29.772: INFO/Prefetcher(34): max cache size reached
08-17 17:34:30.772: INFO/Prefetcher(34): max cache size reached
08-17 17:34:31.772: INFO/Prefetcher(34): max cache size reached
08-17 17:34:32.775: INFO/Prefetcher(34): max cache size reached
08-17 17:34:33.778: INFO/Prefetcher(34): max cache size reached
08-17 17:34:34.779: INFO/Prefetcher(34): max cache size reached

回答1:


I fixed it by enabling sd cache partion on the emulator.

It's done by Creating a new AVD (Android Virtual Device) and then in the Hardware box adding "Cache partition support".



来源:https://stackoverflow.com/questions/3505276/prefetcher-max-cache-size-reached

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!