3045085 – Server Tools Stop Working or SLD Gets Disconnected Due to OOM

Symptom

You are working with SAP Business One and it suddenly stops working and you cannot connect to the SLD. You may notice that server tools has stopped working. This is happening randomly but frequently. A restart of the server tools temporarily resolves the situation for users.

You will notice the following errors in the %programdata%\sap\SAP Business One\Log\SAP Business One ServerTools\System Landscape Directory\sldService.log

  • Java heap space (failed to allocate XXXX bytes) (max heap: 1024 MB)
  • java.lang.OutOfMemoryError: GC overhead limit exceeded

Solution

SAP intends to provide a feature package or patch to solve the symptom that is described in this SAP Note. The section References below lists the related feature package or patch once they become available. Be aware that References can only be confirmed at feature package or patch release date. SAP delivers feature packages or patches only for selected releases at its own discretion, based on the business impact and the complexity of implementation.

Workaround:

SAP Business One Server Tools is a 32-bit component and therefore the maximum memory pool assigned to its JVM is 1024MB. As this JVM is shared among other SAP Business One components the memory available is limited and eventually results in an Out-Of-Memory (OOM) error.

Install SLD on a seperate machine to other SAP Business One components having a shared tomcat service. Refer to our SAP Business One Administrator’s Guide for details on these components. In order to install a single component on a sperate machine you can run the setup.exe in the subdirectory of the installation CD  ( Packages.x64\Server Tools\setup.exe)

Please also send the following information to SAP Business One Support

Follow the steps to generate core dump from the JVM

  1. Open cmd.exe as administrator
  2. Execute following command: “C:\Program Files (x86)\SAP\SAP Business One ServerTools\Common\tomcat\bin\tomcat8w.exe” //ES//B1ServerTools
  3. Go to Java tab
  4. In the ‘Java Options’ field add the following JVM parameters to generate the dump file.
    1. -XX:+HeapDumpOnOutOfMemoryError
    2. -XX:HeapDumpPath=C:\temp
Picture of Trần Văn Sơn

Trần Văn Sơn

Với 18+ năm kinh nghiệm và 50+ dự án thành công, tôi chuyên giải quyết bài toán quản trị từ gốc rễ quy trình và con người. Phương châm của tôi là hướng doanh nghiệp vận hành theo chuẩn SAP B1 toàn cầu, đảm bảo hệ thống vận hành đơn giản, hiệu quả ở hiện tại và dễ dàng nâng cấp, mở rộng trong tương lai.
Thảo luận và chia sẻ kinh nghiệm
Bạn có gặp tình huống tương tự khi sử dụng hệ thống SAP Business One?

Bài có liên quan theo chủ đề đang xem

Scroll to Top