Firstly, I have seen some other issues here that appear to reference memory issues. However, after trying suggestions given as best I could I have had no luck. And so I hope you don't mind that I have made by own issue.
Problem: I am getting these kinds of errors:
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
Goal: double the memory available to my Meteor app (to 4Gb)
Never mind - newbie error. You can set NODE_OPTIONS in the Docker compose file, of course. A bug at my end meant that it wasn't getting copied over / respected by my build process.
Hi,
Firstly, I have seen some other issues here that appear to reference memory issues. However, after trying suggestions given as best I could I have had no luck. And so I hope you don't mind that I have made by own issue.
Problem: I am getting these kinds of errors:
Goal: double the memory available to my Meteor app (to 4Gb)
What I Have Tried:
This caused a build error later on:
I run this script on release:
The first 3 environment variables do show up in the services, but the last one does not.
So am I doing something wrong here? Or missing something simple perhaps? I am a bit new to Docker I must admit.
Any help that can be provided would be greatly appreciated.
Thanks in advance, Ben