Skip to Content
avatar image
Former Member

is it ok to delete hprof files?

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 18, 2008 at 07:36 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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.

  • avatar image
    Former Member
    Sep 18, 2008 at 07:44 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • avatar image
    Former Member
    Sep 18, 2008 at 07:25 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 18, 2008 at 08:31 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 18, 2008 at 08:43 AM

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

    Add comment
    10|10000 characters needed characters exceeded