Closed SandeepReddyPinniti closed 6 days ago
node 16 is EOL, and either way, if you're getting an out of memory error, either you need to fix your program so it doesn't leak memory, or, you need to increase the max-old-space-size even higher.
I'm encountering the same error with node 18 version too and increased the max-old-space-size to 4GB using an environment variable on a windows machine but no luck.
It seems there has been no activity on this issue for a while, and it is being closed in 30 days. If you believe this issue should remain open, please leave a comment. If you need further assistance or have questions, you can also search for similar issues on Stack Overflow. Make sure to look at the README file for the most updated links.
It seems there has been no activity on this issue for a while, and it is being closed. If you believe this issue should remain open, please leave a comment. If you need further assistance or have questions, you can also search for similar issues on Stack Overflow. Make sure to look at the README file for the most updated links.
Details
We are encountering process out of memory error when running twilio flex:plugins:deploy command to deploy the plugin code. I have reached out to Twilio team and they have mentioned that is a node.js error. I have increased the memory size of node by configuring this in the windows environment variable. Node version on my machine is v16.20.0
node --max-old-space-size=1024
I have attached the error message too, Please let us know on how to resolve the issue?
Thanks in advance
Node.js version
v16.20.0
Example code
twilio flex:plugins:deploy
Operating system
Windows 10
Scope
Deploying Twilio Flex Plugin
Module and version
Not applicable.