2016-09-27 20 views
11

चलाते समय SQLiteConnection डेटाबेस रिसाव मैं एमुलेटर चला रहा था और स्मृति रिसाव के बारे में निम्नलिखित त्रुटियां प्राप्त की थी। यह दिलचस्प था कि लीकिंग डेटाबेस उपयोगकर्ता डेटाबेस के बजाय Google gms का प्रतीत होता है। क्या किसी को पता है कि इसे कैसे ठीक करना है? धन्यवाद!एमुलेटर

09-27 15:55:07.252 2058-2068/com.google.android.gms W/SQLiteConnectionPool: A SQLiteConnection object for database '/data/user/0/com.google.android.gms/databases/metrics.db' was leaked! Please fix your application to end transactions in progress properly and to close the database when it is no longer needed. 

09-27 15:55:07.255 2058-2068/com.google.android.gms W/SQLiteConnectionPool: A SQLiteConnection object for database '/data/user/0/com.google.android.gms/databases/help_responses.db' was leaked! Please fix your application to end transactions in progress properly and to close the database when it is no longer needed. 

09-27 15:55:07.259 2058-2068/com.google.android.gms W/SQLiteConnectionPool: A SQLiteConnection object for database '/data/user/0/com.google.android.gms/databases/auto_complete_suggestions.db' was leaked! Please fix your application to end transactions in progress properly and to close the database when it is no longer needed. 
+0

'com.google.android.gms' कोड में एक त्रुटि की तरह दिखता है ... –

उत्तर

15

ओपन सेटिंग्स - ऐप्लिकेशन - क्योंकि आप अपने GoogleApiClient

की disconnect() विधि का उपयोग नहीं कर रहे हैं और अधिक के लिए here देखें साफ़ सभी डेटा

+1

बस एक नोट, आपको विभिन्न अनुकरणकों पर थोड़ा सा देखना पड़ सकता है। मैंने इसे नेक्सस 5 एक्स एमुलेटर पर Google Play Services> सेटिंग्स> MANAGE SPACE ... के अंतर्गत पाया। –

0

यह शायद है - Google Play सेवाएं - स्थान प्रबंधित करें।