"❗️ Streamlit server consistently failed status checks" during build


I have been trying to deploy this app, but I keep getting the following error messages:


Inserting batches in chromadb: 100%|██████████| 1/1 [00:23<00:00, 23.75s/it]-02 00:40:45.055467] 

Successfully saved https://acsearch.acr.org//docs/69377/Narrative/ (DataType.PDF_FILE). New chunks count: 53

[00:42:47] ❗️ Streamlit server consistently failed status checks

[00:42:47] ❗️ Please fix the errors, push an update to the git repo, or reboot the app.

Here is my public deployed app: https://acr-ac.streamlit.app/
Here’s my github: ACR_AC_Custom/app.py at main · hossam-zaki/ACR_AC_Custom · GitHub

Streamlit: 1.29.0

I’m basically adding a bunch of PDFs into the knowledgebase, and it dies less than halfway through, so I’m guessing its a resource issue, but I cache what could be cached, so any advice?

Hi @hossam-zaki,

Thanks for sharing this question. It does seem like your app is exceeding the memory limit for Community Cloud. Here’s a graph of your app’s memory usage:

It sounds like you may need to move the knowledge base to some type of database/cloud storage to keep the app under the memory limit.