How to disable hsperfdata ?

Answered

Hello. I am using your programs on the Linux operating system. Everything works great, except for one issue: when restarting, the /tmp directory didn't "unmount" due to the jetbrains 3010 process. x mem-W REG 259.7 32768 2359302 /tmp/hsperfdata_x/3010. I tried to disable it by adding -XX:-UsePerfData in edit JVM options, added export JAVA_OPTS="$JAVA_OPTS -XX:-UsePerfData" to the .bashrc file, but it didn't help either. How can I disable this caching?

0
1 comment
Hi,

Linux uses different environments variable for command line and GUI applications. (.bashrc only configures environment variables for the command line)
Please refer to here https://wiki.archlinux.org/title/Environment_variables#Graphical_environment to add these environment variables for GUI Applications and restart the system to apply it to see if it helps.

Also, please use `JDK_JAVA_OPTIONS` instead of `JAVA_OPTS`. 
JAVA_OPTS is not used for all Java apps. See https://stackoverflow.com/a/40736821
0

Please sign in to leave a comment.