cancel
Showing results for 
Search instead for 
Did you mean: 

is it ok to delete hprof files?

Former Member
0 Kudos

is it ok to delete hprof files? its eating up space on the primary drive of our server. There are hprof files modified last June and are amounting to 6GB. And also, do you have an idea what are the big files that you could delete un the usr/sap/<SID>/j2ee folder? its a whopping 44GB

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

These .hprof files are heap dumps which are required for

detailed analysis of memory related problems in the Java stack

which will be in HPROF binary format which normally saves in

/usr/sap/<SID>/<instance>/j2ee/cluster/server<N> directory

I think there should not be any problem deleting those files as they are only dumps files.

but you can divert those heap dumps (.hprof) using below parameter

XX:HeapDumpPath=<directory where to save the heap dumps>

Rgds

Radhakrishna D S

Former Member
0 Kudos

Hi Ramakrishna,

While installing NWDS in PO 7.4, i am getting error as HeapDumpOnOutOfMemoryerror. But I tried some different JDK Versons.But no use at all.

You suggested to some to divert those heap dumps. Could you please give steps how to divert those dump file.

And can we delete the heap dump file?

Regards,

Chakrapani.

Answers (4)

Answers (4)

Former Member
0 Kudos

I see, and also is it ok to turn off the ArchiveOldLogFiles parameter?

Former Member
0 Kudos

Hi,

Delete the files from j2ee/cluster/server0/log/archive.

This archives in java system are not deleted we have to delete them manually.

Also as suggested in one of the post just change the priority level of logging and tracing?

Regards,

Vamshi.

Former Member
0 Kudos

i see, how about the usr/sap/<SID>/j2ee/log folder? is it ok to delete everything from that folder? the log folder totals 35GB

Former Member
0 Kudos

Yes you can.Keep the most recent logs say last 14days and delete the rest.

Regards,

Ashutosh

Former Member
0 Kudos

Hi,

The Log Configurator service provides the Log Archiving option. Log files are automatically archives at specific intervals.

By default, the archives are written on the SAP Web AS in the directory <J2EE root directory/<server or

dispatcher>/log/archive

(such as /usr/sap/<SID>/<instance>/j2ee/log/archive).

The parameter " ArchivesDirectory " defines the storage

location of the archives.

The archives themselves are not automatically deleted. You

need to delete this manually.

Rgds

Radhakrishna D S

Former Member
0 Kudos

Discuss with your Basis Guy and also with your team member.

If nobody is using that and only after the approval of your all functional heads and Basis guys delete anything from usr/sap/<SID>/j2ee folder.

Regards,

Ashutosh