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/

Featured Post

Updated Coupons / promo codes for Google Apps for Work / Business

To redeem: 1. Sign up for Google Apps   2. Go to your billing settings  3. Choose your payment plan  4. Enter your promo code ...