SAP Note 1402901 - Java Build VM Settings on CBS

Component : Component Build Server & Component Infrastructure - CBS Build Plugins

Solution : https://service.sap.com/sap/support/notes/1402901 (SAP Service marketplace login required)

Summary :
In SAP Component Build Service (CBS), the build process may be slow or fail due to OutOfMemory exceptions primarily because each Development Component (DC) build triggers the initiation of a new Java VM. The JVM heap size, configured by default to 1GB, might need adjustment (increase or decrease) based on build size via "BUILD_TOOL_VM_ARGS" in VisualAdmin or NWA. Additionally, the "threadPoolSize" parameter regulates the number of concurrent VMs, influenced by available system memory and number of CPUs. Properly setting memory parameters and managing thread pools can optimize building performance and prevent system limitations from causing build failures.

Key words :
problem withthe permgen space, build typically produces lots, sap java vms accept, component build service reason, component build service offers, specific java vm configured, java vms started, separate java vm, java vm started, prerequisites cbs starts

Related Notes :

1234382IBM i: VM Settings for SAP WebAS Java (IBM J9 JVM)
995650Build controller cannot be started due to heap size setting
717376iSeries: VM Settings for SAP WebAS Java (IBM Classic JVM)