查看内存

1414阅读 0评论2009-04-20 lukeunique
分类:Java


可能取得的最大内存:
        Runtime.getRuntime ().maxMemory();
现在取得的内存:
        Runtime.getRuntime ().totalMemory();
现在取得但还没有使用的内存:
        Runtime.getRuntime ().freeMemory();
上一篇:Oracle定时任务
下一篇:临时表空间和回滚表空间的情况