Can't change action memory limit | Community
Skip to main content
New Participant
May 31, 2022
Question

Can't change action memory limit

  • May 31, 2022
  • 2 replies
  • 1469 views

Hi, I'm currently not possible to change the memory limit of my action, see me "app.config.yaml":

application: actions: actions runtimeManifest: packages: temp: actions: test: function: actions/test.js web: yes runtime: nodejs:14 limits: memory: 512

 

Do the docs are lying, it's a bug, or it's an account limitation?

For example, the "timeout" option is working well.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Employee
July 29, 2022

Hi,

There seems to be a mismatched between documentation and implementation. I created a ticket to get that sorted : https://github.com/adobe/aio-lib-runtime/issues/105.

 

In the mean time if you use `memorySize` instead of `memory` you will be able to configure the memory of your action.

 

Félix.

Employee
June 1, 2022

Hi, while you change it, what is the error message like? 

WohlieAuthor
New Participant
June 2, 2022

Hi, there is no error. aio app:deploy runs successful, but my action only allow to use 256Mb RAM.

 

$ aoi --version
@adobe/aio-cli/8.3.0 linux-x64 node-v16.15.0

 

Meanwhile, I was successful increasing the RAM by wsk command:

wsk action update temp/test --memory 512