PythonAnywhere Forums

Web Worker RAM Limit

Can anyone assist in understanding a bit more about web worker ram limit. I have an app that runs some analysis on sometimes large csv's for my users and during peak time's I'll get an email about one of my web workers being killed. Relatively new to programming so unsure really what is causing it or how to even trouble shoot it.

Thanks in advance

If you can avoid building big data structures in your code, do that. As much as you can, process your csv into aggregated values as soon as possible instead of loading the whole thing and then processing it.