I have an application flaskthat uses ponyboth my ORM. The application gradually increases memory usage with each request to the service. I need to measure memory usage by various parts of the program to find the problem.
Unfortunately, since the program does not return its execution and always works, I could not use memory profiling tools such as memory_profiler . How can I profile the memory usage of a constantly running application?
source
share