hannover
因应很多Domino
Agent用Java写,但又没有做好垃圾记忆体清除的工作,所以可以定期或是将程式置于windows指定排程去Run。


class GC {
public static void main(String args[])
{
System.out.print("Domino Server
目前剩余记忆体:");
System.out.println(Runtime.getRuntime().freeMemory());
System.out.println("开始进行Java
AP 垃圾收集");
System.gc();
System.out.print("Domino
Server
目前更新剩余记忆体:");
System.out.println(Runtime.getRuntime().freeMemory());
}
}

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2021-12-26
  • 2021-10-05
  • 2021-11-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-16
猜你喜欢
  • 2021-12-28
  • 2021-07-19
  • 2021-12-06
  • 2021-12-06
  • 2021-12-06
  • 2021-12-06
  • 2021-12-05
相关资源
相似解决方案