Java linux上的Jprofiler远程评测。如何更改探查器数据文件的路径
我正在linux box上运行java(Java6)应用程序,并带有其他设置 -agentpath:/home/myuser/jprofiler/bin/linux-x64/libjprofilerti.so=nowait,port=7777 使用Win box上的JProfiler 7.2.1,我可以连接到流程并检索分析数据 我可以看到,在Linux机器上,JProfiler在“/tmp”目录下生成了一些文件。文件名总是不同的(现在是“jagJGZkk1”和“jdcome0xi”)。 由于堆的巨大大小(大约15GB)和可用的“/tmp”小尺寸,我无法创建内存快照-“/tmp”随着JProfiler文件的大小的增长而变满 如何更改JProfiler数据文件的路径?是否有任何属性/解决方法Java linux上的Jprofiler远程评测。如何更改探查器数据文件的路径,java,profiling,profiler,jprofiler,Java,Profiling,Profiler,Jprofiler,我正在linux box上运行java(Java6)应用程序,并带有其他设置 -agentpath:/home/myuser/jprofiler/bin/linux-x64/libjprofilerti.so=nowait,port=7777 使用Win box上的JProfiler 7.2.1,我可以连接到流程并检索分析数据 我可以看到,在Linux机器上,JProfiler在“/tmp”目录下生成了一些文件。文件名总是不同的(现在是“jagJGZkk1”和“jdcome0xi”)。 由于堆的
感谢要更改Java使用的临时目录,请在jprofiler安装目录中编辑
bin/jprofiler.vmoptions
,并添加一行
-Djava.io.tmpdir=[path to your temp dir]