I wrote a Python Shell job on AWS glue and it is throwing "Out of Memory Error". I have added print() function to view the outputs in the Cloudwatch logs of the lines that are successfully executed but I cannot see the outputs on CloudWatch - neither in error logs nor in output logs.
Additionally, I am also not able to see which line's execution is causing this "Out of Memory Error" even in the error logs.
The only logs I can see is that of Installation of Python modules.
I have tried running the Glue Job multiple times but haven't been able to see the things that I mentioned above anytime.
Can someone help me out here?