Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

There are several steps that can be taken to resolve the "exceeded organization's memory limit" issue when publishing an app to Cloud Foundry:

  1. Increase Memory Limit: Check the current memory limit assigned to the app and increase it to an appropriate level based on the app's requirements.

  2. Check for Memory Leaks: Identify and fix memory leaks within the code to ensure that the app is not consuming more memory than necessary.

  3. Reduce App Memory Usage: Optimize the app code to reduce the memory usage as much as possible.

  4. Utilize Cloud Foundry Services: Utilize Cloud Foundry services such as Redis Cache or PostgreSQL to offload some of the memory-intensive tasks from the app.

  5. Use Multiple Instances/Apps: Create multiple instances of the app or divide the app functionality into smaller microservices to reduce the memory usage per app.

  6. Upgrade to a larger instance type: Upgrade the instance type of the compute resource where the app is running to increase the available memory.

  7. Upgrade to a larger deployment: Increase the number of compute resources deployed to increase the overall memory available to the app.