SAP Knowledge Base Article - Preview

3291548 - Unrecognized VM option 'UseContainerCpuShares'


Deploying or starting after restaging a Java application on Cloud Foundry gives error:

ERR Unrecognized VM option 'UseContainerCpuShares'
ERR Error: Could not create the Java Virtual Machine.
ERR Error: A fatal exception has occurred. Program will exit.

Additionally the SAP Java Buildpack version can be seen to be at least 1.64.1, for example:

sap_java_buildpack 1.64.1



SAP Business Technology Platform


SAP Business Technology Platform all versions


 -XX:+UseSerialGC, cpu.shares, spring boot, deploy, start, stop, stage restage, cf push , KBA , BC-CP-CF-BLDP , Runtimes Buildpacks , 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.