Ulysse Petit
03/19/2025, 10:18 PMMarvin
03/19/2025, 10:18 PMgcloud
command, you can specify the memory limit using the --memory
flag. For example:
bash
gcloud run deploy [YOUR-SERVICE-NAME] --image [YOUR-IMAGE] --memory 512Mi
Replace [YOUR-SERVICE-NAME]
and [YOUR-IMAGE]
with your service name and container image, respectively. Adjust the memory value as needed (e.g., 512Mi
, 1Gi
).
2. Check Logs: Review the logs for the specific revision that failed. This can provide more insights into why the memory was insufficient.
3. Monitor Usage: Once deployed, monitor the memory usage of your service to ensure it operates within the allocated limits.
For more detailed instructions, you can refer to the GCP worker guide.
If you continue to face issues, consider checking Prefect's GitHub issues for any related discussions or solutions.