使用StrictMode检测到极光推送的请求中有资源没有释放,造成内存溢出
A resource was acquired at attached stack trace but never released. See java.io.Closeable for information on avoiding resource leaks.
java.lang.Throwable: Explicit termination method 'close' not called
at dalvik.system.CloseGuard.open(CloseGuard.java:180)
at java.io.FileOutputStream.<init>(FileOutputStream.java:222)
at android.app.ContextImpl.openFileOutput(ContextImpl.java:538)
at android.content.ContextWrapper.openFileOutput(ContextWrapper.java:192)
at cn.jiguang.a.a.b.e.g(Unknown Source)
at cn.jiguang.a.a.b.e.a(Unknown Source)
at cn.jiguang.c.d.i.onActionRun(Unknown Source)
at cn.jiguang.c.d.b.a(Unknown Source)
at cn.jiguang.c.d.m.a(Unknown Source)
at cn.jiguang.c.d.n.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:776)
希望你们也能好好的检测你们的代码,这种低级的错误不要在犯了,现在我们使用的统计错误中有很多是报极光推送内存溢出的问题。