Pivotal Knowledge Base


SSO Memory Error when Deploying to Pivotal Cloud Foundry Version 1.12



When deploying Single Sign-On (SSO) on PCF 1.12, the identity-service-broker job fails with the following error:

2017-09-10T13:21:08.66-0400 [CELL/0] OUT Starting health monitoring of container
2017-09-10T13:40:08.74-0400 [APP/PROC/WEB/0] ERR Cannot calculate JVM memory configuration: There is insufficient memory remaining for heap. Memory limit 512M is less than allocated memory 681029K (-XX:ReservedCodeCacheSize=240M, -XX:MaxDirectMemorySize=10M, -XX:MaxMetaspaceSize=99641K, -XX:CompressedClassSpaceSize=18188K, -Xss1M * 300 threads)
2017-09-10T13:40:08.76-0400 [APP/PROC/WEB/0] OUT Exit status 1


SSO for PCF 1.4.x is not compatible with PCF 1.12. Before upgrading to the newer version of the tile, perform the steps in the section below.


To work around this issue, please follow the steps below:

    • Launch Apps Manager. Navigate to https://apps.{system-domain}.
    • Login as an admin user.
    • Navigate to the System org.
    • Click identity-service-space.
    • Click green-identity-service-broker app.
    • Click the Route tab.
    • Delete the green-p-identity.{system-domain} route.
    • Add a p-identity.{system-domain} route.
    • Click the Settings tab.
    • Change the name of the app to identity-service-broker.
    • Click the Overview tab.
    • Change the Memory Limit from 512 MB to 1 GB.
    • Click Scale App.

Note- If you do not perform all the steps above for the SSO Tile, you will not be able to upgrade to the newer version of the tile.



Powered by Zendesk