I finished developing my web app using Dash, and I tried deploy the app to Heroku server. Unfortunately, I encountered with memory issues. I tried profile my app’s memory (using memory-profiler), and I saw that the used memory going up to 275MB right when I launch the app from the command line.
Do you have any idea why so much memory used when I start the app (the only command in the main function is:
app.run_server), and how can I optimize the memory consuming?