La documentación menciona el uso .runWith({memory: "1GB"}) , pero ¿cómo uso esta opción con una función programada como esta?
functions.pubsub.schedule('every 10 minutes').onRun(async (context) => { console.log("Do something"); });Solo haz lo siguiente:
functions.runWith({memory: "1GB"}).pubsub.schedule('every 10 minutes').onRun(async (context) => { console.log("Do something"); // Don't forget to return a Promise if necessary!! // See https://firebase.google.com/docs/functions/terminate-functions });