package com.npnets.demo;
import java.io.IOException;
public class FreeMoney {
public static void main(String[] args) throws IOException {
//Process pro = Runtime.getRuntime().exec("");
long jvm = Runtime.getRuntime().freeMemory();
Runtime.getRuntime().gc();
Runtime.getRuntime().maxMemory();
System.out.println(jvm);
System.out.println(Runtime.getRuntime().maxMemory());
}
}
jvm
最新推荐文章于 2025-05-24 19:51:49 发布
1885

被折叠的 条评论
为什么被折叠?



