We recomend regulary check directory /usr/sap/<SID>/<INSTANCE>/j2ee/cluster/server<N>/, where can be hold old dumps and trace files.
For examle, in Note 1289240 – How to deal with out of memory errors we can read
The heap dump is generated in directory /usr/sap/<SID>/<INSTANCE>/j2ee/cluster/server<N>/ where N is the server node number.
Automatically created heap dump on out of memory event is in OOM.hprof and OOM.addons files.
User generated heap dump is in files named as java_pid<PID>.hprof and java_pid<PID>.addons, where PID is the process ID (9848 for example).
Also we can find *.trc files.
We recomend delete unnecessary files
In case Unix We use command find
cd /usr/sap/<SID>/<INSTANCE>/j2ee/cluster/server<N>/
find . -mtime +30 -name “*.trc” -exec rm {} \; -print
find . -mtime +30 -name “*.addons” -exec rm {} \; -print
and then
rm OOM.hprof