机器人 - GC_FOR_ALLOC释放6346K,7%免费,暂停143ms,总143ms [英] android - GC_FOR_ALLOC freed 6346K, 7% free , paused 143ms, total 143ms

查看:142
本文介绍了机器人 - GC_FOR_ALLOC释放6346K,7%免费,暂停143ms,总143ms的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发使用OSMdroid库脱机图形页面。我tilesource加载瓦片但是将稳步退出。但事实是在我的日志消息,我不断收到此错误:

I'm developing an offline mapView using OSMdroid Library. My tilesource loads the tiles but renders quit steadily. But the fact is in my log messages, I keep getting this error:

GC_FOR_ALLOC释放6346K,7%免费,暂停143ms,总143ms

我不知道如何调试呢?任何想法,我有什么内存泄漏?

I'm not sure how to debug this? Any ideas, do I have any memory leaks?

推荐答案

这是不是一个错误,而是一个信息垃圾收集器运行。

This is not an error, but an information that Garbage collector has run.

如果你看到很多这些的,这可能意味着你正在做许多分配或有较少的内存。你应该努力提高你的程序的内存性能。

If you are seeing a lot of those, it might mean that you are making many allocations or have little memory. You should try to improve your program's memory performance.

有一个关于调查RAM消耗Android的一个很好的来源的信息:

There is a good source information about investigating RAM consumption in Android:

<一个href="https://developer.android.com/tools/debugging/debugging-memory.html">https://developer.android.com/tools/debugging/debugging-memory.html

也有关于管理您的内存消耗在Android的总战略文件:

There is also a document about general strategies for managing your memory consumption in Android:

<一个href="http://developer.android.com/training/articles/memory.html">http://developer.android.com/training/articles/memory.html

这篇关于机器人 - GC_FOR_ALLOC释放6346K,7%免费,暂停143ms,总143ms的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆