How can I prevent Java from creating hsperfdata files?

Try JVM option -XX:-UsePerfData

more info

The following might be helpful that is from link


    Enables the perfdata feature. This option is enabled by default
    to allow JVM monitoring and performance testing. Disabling it 
    suppresses the creation of the hsperfdata_userid directories. 
    To disable the perfdata feature, specify -XX:-UsePerfData.

Leave a Comment