Question: why hprof files are created?
Answer: An Hprof file can be created as a heap dump of the memory of a Java™ process. This is typically created when there is an Out of Memory error occurs on the system. ... The HPROF files are usually an indication of an OutOfMemory issue and are used to analyze these errors.