有三款内存分析的工具
免费
VisualVM
MAT
下载地址https://www.eclipse.org/mat/
mac 下面
under the current working directory when the platform is launched. Use the -data parameter to
specify a different content area for the platform.
at org.eclipse.core.internal.runtime.DataArea.assertLocationInitialized(DataArea.java:70)
at org.eclipse.core.internal.runtime.DataArea.getStateLocation(DataArea.java:138)
at org.eclipse.core.internal.preferences.InstancePreferences.getBaseLocation(InstancePreferences.java:44)
at org.eclipse.core.internal.preferences.InstancePreferences.initializeChildren(InstancePreferences.java:209)
at org.eclipse.core.internal.preferences.InstancePreferences.<init>(InstancePreferences.java:59)
at org.eclipse.core.internal.preferences.InstancePreferences.internalCreate(InstancePreferences.java:220)
at org.eclipse.core.internal.preferences.EclipsePreferences.create(EclipsePreferences.java:349)
at org.eclipse.core.internal.preferences.EclipsePreferences.create(EclipsePreferences.java:337)
at org.eclipse.core.internal.pref
需要编辑编辑MemoryAnalyzer.ini 文件,
添加
-data
data文件夹的路径地址,自己创建指定
收费
Jprofile