We plan on using mitmproxy for our test and staging environments. However, we are running into the issue that these environments have limited memory available. MITMproxy seems (according to spec?) to simply store all our HTTPS API communications in memory. Since our applications use API's very intensively we fear we would run out of memory rather quickly.
So I was wondering, is there a good way to limit memory usage of MITMproxy?