cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to Deploy CAP Project Error: memory_in_mb exceeds organization memory quota"

saikat_pal5
Discoverer
0 Kudos

We are currently using Cloud Application Programming through BTP HANA Cockpit.

During the deployment of CAP project & getting the below error -

" Proceeding with automatic retry... (3 of 3 attempts left)

Executing task "deploy" on application "PA_CAP-db-deployer"...

Execution of task "deploy" on application "PA_CAP-db-deployer" failed.

Download the application logs via the dmol command and check them for more information.: Controller operation failed: 422 Unprocessable Entity: CF-UnprocessableEntity(10008): memory_in_mb exceeds organ"

Can you please help here how to resolve this error?

Accepted Solutions (0)

Answers (3)

Answers (3)

andrewfloriano
Product and Topic Expert
Product and Topic Expert

Hello Saikat,

The error states that the memory that you allocated for your CAP project has exceeded the allowed amount (memory_in_mb exceeds organ).

Please find below a couple of possible solutions that you may consider:

Solution 1: You might try decreasing the amount of memory being allocated to your application. This can usually be done in your manifest.yml file under the 'memory' section. You should reduce the allocated memory within the allowed limit defined in your organization's quota.

Solution 2: Perhaps the organization quota has been reached. If that's the case, you would need to request your Cloud Administrator to increase the organization memory quota on SAP Cloud Foundry.

Bear in mind that while solution 1 is changing parameters for your application, solution 2 involves changing your environment parameters.

For any approach, make sure to check the new settings before redeploying your application.

Kind Regards,

martinstenzig
Contributor

Is it possible that the running of the db-deployer task is exceeding the complete cloud foundry runtime memory?

It is tough to say without more information. I would suggest you do a `cf logs PA_CAP-db-deployer --recent` after you are receiving the error and take a close look at it and/or share it.

saikat_pal5
Discoverer
0 Kudos

Many thanks, Andrew for your response.We will check this & let you know.