运行模拟器时SQLiteConnection数据库泄漏 [英] SQLiteConnection databases leak when running emulator

查看:303
本文介绍了运行模拟器时SQLiteConnection数据库泄漏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在运行模拟器,并收到以下有关内存泄漏的错误.有趣的是,泄漏的数据库似乎是Google gms的数据库,而不是用户数据库.有谁知道如何修理它?谢谢!

I was running the emulator and received the following errors about memory leak. It was interesting that the leaking database seems to be of the Google gms instead of a user database. Does anyone know how to fix it? Thanks!

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.

推荐答案

打开设置-应用-Google Play服务-管理空间-清除所有数据

Open Settings - Apps - Google Play Services - MANAGE SPACE - CLEAR ALL DATA

这篇关于运行模拟器时SQLiteConnection数据库泄漏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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