Skip to content

The longer mitmproxy runs in CentOS Linux, the more memory it consumes. I use it to receive a large number of packet bodies for filtering. Is there any way to solve this automatic clearing of memory cache #7308

@0day4day

Description

@0day4day

When initially used, it occupies 100MB of memory

The longer mitmproxy runs in CentOS Linux, the more memory it consumes. I use it to receive a large number of packet bodies for filtering. Is there any way to solve this automatic clearing of memory cache

docker pull mitmproxy/mitmproxy
mitmdump --version
Mitmproxy: 11.0.0 binary
Python: 3.12.6
OpenSSL: OpenSSL 3.3.2 3 Sep 2024

mitmdump -s your_script.py -p 9090 --ssl-insecure

Now, as shown in the picture, it has occupied almost several gigabytes of memory

image

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions