摘要: 简单的方法,如下: Runtime r = Runtime.getRuntime(); r.gc(); long startMem = r.freememory(); // 开始时的剩余内存 你的代码……long orz = startMem - r.freememory(); // 剩余内存 现在 阅读全文
posted @ 2017-08-06 22:26 陆敏技 阅读(729) 评论(0) 推荐(0) 编辑
Web Counter
Coupon for Contacts