我正在尝试使用以下命令在 CMD 中启用本机内存跟踪。
java -XX:NativeMemoryTracking=[off|summary|detail]
但收到如下错误:
'summary' is not recognized as an internal or external command,
可运行的程序或批处理文件。
我还尝试了以下命令:
java -XX:NativeMemoryTracking=[off] and java -XX:NativeMemoryTracking=
[summary] and java -XX:NativeMemoryTracking=[detail]
但出现如下错误:
Error occurred during initialization of VM
Syntax error, expecting -XX:NativeMemoryTracking=[off|summary|detail]