13

I programming an app on Android Studio 2.3, which uses SQLite Databases and uploads data via an HTTP connection. Since I installed Android O on my Nexus 6P I have a problem.

What's my problem

I get the following information message every second when my app is running.

05-19 20:20:43.560 20029-20036/net.example.app I/chatty: uid=10378(u0_a378) JDWP identical 8 lines
05-19 20:20:44.059 20029-20036/net.example.app I/zygote64: Starting a blocking GC ObjectsAllocated

So this continues in an endless log. I really don't know what it can be. I also noticed that the device will get hot.

Now my question, does anyone has the same problem or is there a solution?

Please feel free to ask for some code.

3
  • 1
    I too am seeing this
    – nAndroid
    Commented May 21, 2017 at 2:58
  • 1
    Happens to me with the latest O on my N5x. I only see that in the debug mode though. Phone freezes when database and network is accessed.
    – Mike T
    Commented May 26, 2017 at 11:40
  • Seeing same endless log :( No answer? Strange!!!
    – eC Droid
    Commented Jul 18, 2017 at 7:44

1 Answer 1

5

It's harmless. It's an extra log message that was added to the GC in Android O as part of the solution to a potential deadlock. Here's the commit in Android ART GC that causes it.

The reason you're seeing it is because the "Memory" monitor tab in Android Studio polls the count of objects allocated periodically (quite frequently) in order to display the memory graph.

Workaround: disable the Android Studio memory monitor.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.