Micro Focus Expert
Micro Focus Expert

UCMDB Tip : Can .hprof files be deleted from Windows directory?

System32 folder in Windows directory may contain files like java_pid3492.hprof and java_pid5548.hprof but only one of the two file's Process ID (pid) number may be seen in Windows Task Manager.

Can the second file be deleted?




java_pid_*****.hprof files are generated by the JDK profiler (built in the Java itself) and specifically by this flag: -XX:+HeapDumpOnOutOfMemoryError.

When a memory error occurs the profiler dumps information into these .hprof files. These files need to be analyzed in order to understand the underlying problem with the system.

There are different programs that can analyze these .hprof files.

Also Java does not create these files unless being told to, so the developers of the system have to know about this.

Those files can be deleted without any impact of the systems (it does not affect the running system at all), but programmers may need to have a copy (for example, in order to observe the memory crash).




Reference : http://support.openview.hp.com/selfsolve/document/KM00838845




“Micro Focus Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.”

Click the KUDOS star to say 'Thanks'
Labels (1)
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.