App error when executing on PDF file

I have deployed an app that accepts PDFs and summarizes the text. I’m able to run my app locally, and deployment to Community Cloud is successful. But when I upload the PDF I get the below error:

/app/scripts/run-streamlit.sh: line 9: 190 Killed sudo -E -u appuser /home/adminuser/venv/bin/streamlit “$@”
[20:48:59] :exclamation: Streamlit server consistently failed status checks
[20:48:59] :exclamation: Please fix the errors, push an update to the git repo, or reboot the app

Public deployed app: https://thesis-gyzu7tcv22erx9zhgdra3y.streamlit.app/
GitHub: GitHub - MarkNCI/Thesis
Streamlit version is 1.36 and Python version is 3.10.

Has anyone come across this before, hard to debug.

I think you are getting out of memory.

Thanks for quick reply, PDF is 0.6MB. Is that too big? Or is it that the app is too big?

The memory it needs to run.