SAP Knowledge Base Article - Preview

3669287 - java.lang.OutOfMemoryError: Java heap space - SAP Solution Manager 7.2 DB export

Symptom

  • _JAVA_OPTIONS: -Xmx is not working. Increasing it from 2G to 8G and 16G is not working

java.lang.OutOfMemoryError: Java heap space (failed to allocate 4293132304 bytes) (max heap: 8192 MB)                                                                                       
    at java.util.Arrays.copyOf(Arrays.java:3332)
    at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:124)
    at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:596)
    ...

  • Picked up _JAVA_OPTIONS: -Xmx16G
    java version "1.8.0_451"
    Java(TM) SE Runtime Environment (build 8.1.104)
    SAP Java Server VM (build 8.1.104 11.0.27+000, Apr 14 2025 15:04:29 - 81_REL - optU - windows amd64 - 6 - bas2:343113 (mixed mode))

    java.lang.OutOfMemoryError
        at java.lang.AbstractStringBuilder.hugeCapacity(AbstractStringBuilder.java:161)
        at java.lang.AbstractStringBuilder.newCapacity(AbstractStringBuilder.java:155)
        ...


Read more...

Environment

  • SAP Adaptive Server Enterprise (ASE) 15.7 SP140 for Business Suite
  • SAP Adaptive Server Enterprise (ASE) 16.0 for Business Suite
  • SAP NetWeaver (NW) - All versions (or specific version if related only to a specific SAP Basis)
  • SAP Solution Manager (SOLMAN) 7.2
  • SWPM 1.0 SP45

Product

SAP Solution Manager 7.2

Keywords

R3load, filesplit, SWPM , KBA , BC-DB-SYB , Business Suite on Adaptive Server Enterprise , 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.