SAP Knowledge Base Article - Preview

1515139 - メモリ不足による Web AS Java の頻繁なクラッシュ/大規模な BI データアクセスクエリによるコアダンプ

Symptom

Web AS Java がクラッシュし、OutOfMemoryError が表示されます。
  • 7.10 ~ 7.31 システムのセントラルダイアログインスタンスの作業ディレクトリにおいて、dev_jstart に 666 の終了コードが存在します。ログ std_server<n>.out に、java.lang.OutOfMemoryError、メモリ不足エラー、または JLaunchIExitJava: exit hook is called (rc=666) が表示されます。dev_server<n>.out に、次のようなエントリが存在することがあります。LOG => SfCJavaVm: exit hook is called. (rc = 666)

    server<n>/log/defaultTrace_nn.n.trc に、次のようなエントリが存在することがあります。The system is out of resources. Consult the following stack trace for details.java.lang.OutOfMemoryError: Java heap space
     
  • 6.40 ~ 7.02 システムにおいて、dev_jcontrol に次のようなエントリが存在することがあります。JLaunchIExitJava: exit hook is called (rc=666)
    ログ std_server<n>.out に、次のようなエントリが存在することがあります。FATAL: Caught OutOfMemoryError! Node will exit with exit code666 java.lang.OutOfMemoryError

以下のパラメータによってヒープダンプが生成されるように Java 仮想マシン (JVM) が設定されている場合、自動的にヒープダンプが生成されます。

  • -XX:+HeapDumpOnOutOfMemoryError (Sun/SAP JVM)
  • -Xdump:system:events=systhrow,filter=java/lang/OutOfMemoryError,request=exclusive+prepwalk (IBM JVM)

ご使用の製品および OS に依存して、以下の SAP ノートに従ってヒープダンプをマニュアルで生成することができます。

1004255: J2EE Engine 6.40/7.0 のフル HPROF ヒープダンプの登録方法
1259465: MAT による分析が可能なヒープダンプの取得方法
1263258: IBM JDK 1.4.2 x86_64: MAT 用の適切なヒープダンプの取得方法
1289240: メモリ不足エラーの処理方法 (NW 7.10 ~ 7.31)
1265455: MAT を使用した分析用のシステムダンプの生成方法

メモリアナライザのダウンロードおよびそれを使用してヒープダンプを解析する方法については、SAP ノート 1883568 を参照してください。

ヒープ分析によって、以下と同様のタイプの結果が表示されます。

例 a <nnn> instances of "com.sap.ip.bi.bics.dataaccess.consumer.impl.queryview.QueryView", loaded by "sap.com/com.sap.ip.bi.bics" occupy (nnn,nnn,nnn) (20-70%) bytes.

ビジュアルコンポーザで BPM リアルタイムレポートを実行している場合、リークサスペクトは同じであることに注意してください。そのシナリオおよび解決方法については、SAP
ノート 1848021 を参照してください。

例 bOne instance of "java.util.ArrayList" loaded by "<system class loader>" occupies (nnn,nnn,nnn)(20-70%) bytes.The instance is referenced by com.sap.ip.bi.webapplications.ui.unifiedrendering.controls.SingleColumnLayout @ 0xd7de25c0 , loaded by
sap.com/com.sap.ip.bi.web.unifiedrendering". The memory is accumulated in one instance of "java.lang.Object[]" loaded by "<system classloader>".Keywords java.util.ArrayList java.lang.Object[] sap.com/com.sap.ip.bi.web.unifiedrendering
The thread is executing an HTTP Request to application"/irj", path"/portal/prtroot/com.sap.ip.bi.web.portal.integration.launcher"

例 c The thread com.sap.engine.core.thread.impl3.SingleThread @ 0x700000020df6638 SAPEngine_Application_Thread[impl:3]_39 keeps local variables with total size (nnn,nnn,nnn) (20-70%) bytes.The memory is accumulated in one instance of "com.sap.engine.core.thread .impl3.SingleThread" loaded by "com.sap.engine.boot.CoreClassLoader @0x700000020a2acc0".
The thread is executing an HTTP Request to application"/irj", path"/portal/prteventname/Navigate/prtroot/com.sap.ip.bi.web.portal.integration.launcher".at com.sap.ip.bi.export.office.impl.excel.ExcelHtmlDocument.writeOfficeHtmlDocumentToStream (Ljava/io/PrintWriter;Ljava/io/PrintWriter;) V (ExcelHtmlDocument.java:169(Compiled Code)) at com.sap.ip.bi.export.office.common.OfficeHtmlDocument.writeOfficeHtmlDocumentToByte(Ljava/lang/String;) [B (OfficeHtmlDocument.java:248) at com.sap.ip.bi.export.office.common.OfficeHtmlDocument.writeOfficeHtmlDocumentToByte()[B (OfficeHtmlDocument.java:265) at com.sap.ip.bi.export.office.impl.excel.MsExcelConverter.getBinaryContent()[B (MsExcelConverter.java:146)


Read more...

Environment

  • SAP_BW
    SAP Business Information Warehouse
                                               710          - 731
                                               700          - 702
  • BI-BASE-S
         BI BASE SERVICES    
                                               7.20         - 7.31
                                               7.11         - 7.11
                                               7.00         - 7.02
  • BIWEBAPP
         BI WEB APPLICATIONS
                                               7.20         - 7.31
                                               7.11         - 7.11
                                               7.00         - 7.02
  • J2EE-FRMW
         J2EE Engine Framework
                                               7.30         - 7.31
                                               7.20         - 7.20
                                               7.10         - 7.11
  • SAP-JEE
         SAP J2EE ENGINE
                                               7.00         - 7.02
                                               6.40         - 6.40

Product

SAP NetWeaver 2004 ; SAP NetWeaver 7.0 ; SAP NetWeaver 7.3 ; SAP NetWeaver Application Server for Java 7.1 ; SAP NetWeaver Application Server for Java 7.2 ; SAP enhancement package 1 for SAP NetWeaver 7.0 ; SAP enhancement package 1 for SAP NetWeaver 7.3 ; SAP enhancement package 1 for SAP NetWeaver Application Server for Java 7.1 ; SAP enhancement package 2 for SAP NetWeaver 7.0 ; SAP enhancement package 3 for SAP NetWeaver 7.0

Keywords

java/lang/OutOfMemoryError, short dumps, BI reports, OOM, out of memory, 666, ショートダンプ, BI レポート, メモリ不足 , KBA , BW-BEX-ET-WJR , BEx Web Java Runtime , Problem

About this page

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

Search for additional results

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