我正在尝试使用命令java -version启动一个新的jvm,但它报告了一个错误: # There is insufficient memory for the Java Runtime Environment# Native memory allocation (malloc) failed to allocate 295856 bytes for Chunk::new 堆栈信息也证明系统不能分配本机内存我发现系统仍然有足够的可用内存</e
当我想要从我的程序中读取ram使用情况时。"long used = Runtime.getRuntime().totalMemory() -Runtime.getRuntime().freeMemory();“if(selectSort.equals("1")){
//-------------------------BEST CASE MERGE------值是相同的,6。我