Digital Marketing

What is hsperfdata

hsperfdata_

This is a feature Not bug. It's a log directory created by jvm while running and its a part of Java performance counter. This folder created inside tmp folder of any operating system by default. JVM uses this folder for process monitoring.


This folder contains perfdata corresponding to java process id running from user mentioned in sperf Data folder name.

To prevent creating this directory in TMP folder, there are two ways :

1)Use the following option :
         -XX:-UsePerfData
  -This will turn off perfdata feature. but performance might be tempered.

  Another recommended way to turn off perfdata feature is to use  "-XX:+PerfDisableSharedMem" option.

2) Change the location of folder :
  Add -Djava.io.tmpdir=/path/to/somewhere/else/

Comments

Popular posts from this blog

MySQL Sandbox with the Sakila sample database