I was excited to finally deploy my app at https://share.streamlit.io/kateamon/trees/main today but then disappointed to see that is too slow and crashes. The app does neural style transfer from a user provided image - either from a file or URL. First problem is as the neural style transfer runs - very slowly - the uploaded image “disappears” so the neural style transfer fails from not having an image to convert.
Then as I tried again the app crashed with this error:
# Argh.
This app has gone over its resource limits. Common causes for this are memory leaks in the app logic, using caching without a TTL, or leaving large datasets in memory even after they are no longer needed. Please update and reboot this app to try again.
If you still have questions, leave a message in our [forums](https://discuss.streamlit.io/c/13) and we’ll get back to you ASAP.