更新时间:2023-11-15 09:06:58
您是否尝试过将'M'附加到内存参数? (即-Xms2048M)另外,如果VM无法为堆保留足够的空间,我会尝试将ms设置为较小的值(即1024M).
Have you tried appending an 'M' to memory parameters? (i.e. -Xms2048M) Also, I would try setting ms to a smaller value (i.e. 1024M) in case the VM can't reserve enough space for the heap.