SAP Knowledge Base Article - Preview

2570940 - bpm_delete_only job crashes on a high demand of completed processes

Symptom

Running the  "bpm_delete_only" job on a high number of completed BPM processes can cause crash on the system.

Analysing the Heap Dump, it shows the following:

    ** OOM leak suspect **

The thread com.sap.engine.core.thread.impl3.SingleThread @ 0x747dba708 Galaxy 8 / Follower Worker / Script [AUTOMATED_ACTIVITY_Send_Grouped_Message__Aggregated_Message_]keeps local variables with total size 705,741,488 (28.57%) bytes.

The memory is accumulated in one instance of "byte[]" loaded by "<system class loader>".

 

    ** Thread Stack **

Galaxy 8 / Script [AUTOMATED_ACTIVITY_Send_Grouped_Message__Aggregated_Message_]
at java.lang.OutOfMemoryError.<init>()V (OutOfMemoryError.java:25)
at com.sap.glx.core.util.io.ByteArrayReferenceOutputStream.write([BII)V (ByteArrayReferenceOutputStream.java:67)
at com.sap.glx.core.util.io.StreamConnector.copyStreamImpl(Ljava/io/InputStream;Ljava/io/OutputStream;Lcom/sap/glx/core/util/io/StreamConnector;)V (StreamConnector.java:62)
at com.sap.glx.core.util.io.StreamConnector.copyStream(Ljava/io/InputStream;Ljava/io/OutputStream;)V (StreamConnector.java:37)
at com.sap.glx.core.sdopersistence.SdoPersistencyImpl.unGZIPByteArrayFromStream(Ljava/io/InputStream;)Lcom/sap/glx/core/util/io/ByteArrayReferenceOutputStream$ByteArrayReference; (SdoPersistencyImpl.java:1263)
at com.sap.glx.core.sdopersistence.SdoPersistencyImpl.unGZIPStringFromStream(Ljava/io/InputStream;)Ljava/lang/String; (SdoPersistencyImpl.java:1238)
at com.sap.glx.core.sdopersistence.SdoPersistencyImpl.unGZIPObjectDataFromQuery(Ljava/sql/ResultSet;)Ljava/lang/String; (SdoPersistencyImpl.java:1221)
at com.sap.glx.core.sdopersistence.SdoPersistencyImpl.restoreDataObjectDetails(Ljava/sql/ResultSet;)Lcom/sap/glx/core/sdopersistence/SdoPersistencyImpl$DataObjectDetails; (SdoPersistencyImpl.java:1132)
at com.sap.glx.core.sdopersistence.SdoPersistencyImpl.restoreDataObject(Ljava/sql/ResultSet;)Lcom/sap/glx/core/util/api/Pair; (SdoPersistencyImpl.java:1086)
at com.sap.glx.core.sdopersistence.SdoPersistencyImpl.restoreInternal(Lcom/sap/guid/IGUID;)Lcom/sap/glx/core/util/api/Pair; (SdoPersistencyImpl.java:788)
at com.sap.glx.core.sdopersistence.SdoPersistencyImpl.restore(Lcom/sap/guid/IGUID;)Ljava/lang/Object; (SdoPersistencyImpl.java:1656)
at com.sap.glx.core.internaladapter.ContainerAdapter.getData(Lcom/sap/guid/IGUID;Lcom/sap/glx/core/kernel/api/TransitionTicket;)Lcommonj/sdo/DataObject; (ContainerAdapter.java:388)
...


Read more...

Environment

  • SAP NetWeaver 7.3
  • SAP Enhancement Package 1 for SAP NetWeaver 7.3
  • SAP NetWeaver 7.4
  • SAP NetWeaver 7.5

Product

SAP NetWeaver 7.3 ; SAP NetWeaver 7.4 ; SAP NetWeaver 7.5 ; SAP enhancement package 1 for SAP NetWeaver 7.3

Keywords

delete task, delete process, process instance, task instance, bpm_delete_only, archiving, SAP BPM tasks clean up, BPM, BPEM, UWL , KBA , BC-BMT-BPM-SRV , Process Server , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.