Jun-18-2021, 02:48 PM
Matplotlib has a documented memory leak when used with web services like Flask.
The workaround I saw suggested was to use a "figure", not a "plt", but when I tried to do that, it did not fix the memory leak.
Hopefully others here will chime in with some ideas.
Good luck!
Oliver
The workaround I saw suggested was to use a "figure", not a "plt", but when I tried to do that, it did not fix the memory leak.
Hopefully others here will chime in with some ideas.
Good luck!
Oliver