Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android I/zygote64:Waiting for a blocking GC ProfileSaver

Tags:

I'm having this problem when I debug my app. It blocks at this line and I don't know what is causing it. I could not find any answer or anyone that had the same problem. I have no clue what part of the code could cause this to happen. Do you have any ideas or have experience with this? I'm using Android Studio 3.1, JRE 1.8.0, JVM: OpenJDK 64-bit

like image 319
Vincent Gagnon Avatar asked Mar 29 '18 11:03

Vincent Gagnon


2 Answers

Waiting for a blocking GC ProfileSaver message appears for me when I have set too many break points.

This link will help if you are looking to manage your break points.How to effectively remove all breakpoints in Android Studio

like image 177
Jason Avatar answered Sep 20 '22 17:09

Jason


I solved this by wiping out all user data from the emulator and reloaded the app. You may use this step if you are absolutely sure about loosing user data. Go to Android Studio, then in Tools menu click on AVD Manager and select your virtual device and click on wipe data As may be seen in the attached picture

like image 22
Kartik Javali Avatar answered Sep 20 '22 17:09

Kartik Javali