Hello ajb cryptocapital
Welcome to Microsoft Q&A Platform, thanks for posting your query here.
It seems like you are facing memory issues while running your Python script on Azure Batch. The difference in memory usage between your laptop and Azure nodes could be due to various factors such as differences in hardware, operating system, and software configurations.
To troubleshoot the issue, you can try the following steps:
- Check the memory usage of your Python script on your laptop and compare it with the memory usage on Azure nodes. This will help you identify if there is a significant difference in memory usage.
- Check if there are any memory leaks in your Python script. You can use memory profiling tools to identify memory leaks in your code.
- Check if you are using the latest version of Python and the required packages. Upgrading to the latest version of Python and packages can sometimes help resolve memory issues.
- Try optimizing your code to reduce memory usage.
- Consider using a larger Azure node with more memory to run your Python script. You can also try increasing the memory limit for your Azure Batch job.
I hope these steps help you resolve the memory issues you are facing while running your Python script on Azure Batch.