I have a Python Azure Function that is inconsistently running:
The most recent errors show "python exited with code 137":
Why is this happening and how do I fix it?
This Function is running on a premium EP2 App Service Plan with 7GB of memory. Files being moved are no larger than 750MB.
UPDATE 1:
Below is an example of the memory usage profile for the timeline that the function runs are failing. Its unclear to me how moving a ~700MB file can consume ~6GB of memory.



UPDATE 1above.