Recurring job out of memory


I have a recurring job scheduled to run every 2 hours. The problem is that it will error out with an “Out of memory” error. I can run the same function outside of this recurring job and it completes without an errors. It looks like the recurring job is started in a “IIS Worker Process (32-bit)” process, but when I start the function outside of the recurring job, it is not run inside a 32-bit process. So I think this is the cause of my out of memory error. Is there a way to make the recurring job start in a x64 process instead?




I had already tried that one. Didn’t work. Thanks though.


Any other ideas? I am still having an issue with this.