开发者

Is it possible to call GC in Android?

I am wond开发者_如何转开发ering if there is a way to call gc from code, hopefully to free some memory.


You can request it with

System.gc();

Although the important note is this is only a request. There is no guarantee that the GC will run.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜