ProxymanApp / Proxyman

Modern. Native. Delightful Web Debugging Proxy for macOS, iOS, and Android ⚡️
https://proxyman.io
5.35k stars 177 forks source link

Excessive application memory used by proxyman #2015

Open MichaelGofron opened 2 months ago

MichaelGofron commented 2 months ago

Description

After having proxyman active for some time (usually a few days) I run out of application memory on my computer due to proxyman taking up so much memory

Steps to Reproduce

(Not entirely sure but I suspect:)

  1. Launch proxyman
  2. Keep proxyman active for a few days while using computer
  3. Eventually run out of application memory in proxyman
Screenshot 2024-05-02 at 10 38 15

Current Behavior

Run out of application memory

Expected Behavior

Should not run out of application memory

Environment

NghiaTranUIT commented 1 month ago

@MichaelGofron May I ask how many items are in the Tools Menu -> SSL Proxying List ?

It's important because it shows how many domains are intercepted. This intercepted data is stored in the Memory and it accumulates if you use it for a long usage.

By removing these SSL Items, Proxyman only proxies the Request/Response without holding any data, so it might use less Memory.

MichaelGofron commented 1 month ago

Hm, these are just several variants of apps that we are testing locally. For instance we have our main app and the api it hits in addition to smaller "dev apps" we have we are basically stripped down versions of the main app used since it takes a while to build the main app.

Is there anything I could do besides remove these SSL items? For instance keep a shorter window for data stored by proxyman of an hour?

NghiaTranUIT commented 1 month ago

Do you use Wildcard SSL, for example: * to intercept all traffic 🤔 ?

Not sure if this setting: Auto clean up memory in the Setting -> Advanced is enabled or not? If not, please enable it 👍

nisimjoseph commented 1 month ago

I experience the same issue. Proxyman 5.3.0 was open for 1 day and we got 90GB memory.

Screenshot 2024-05-22 at 10 11 45

nisimjoseph commented 1 month ago

please make a feature that limit the amount of log it keep, for example 1h, and the user can increase it if he like. it critical because it block our macs in a crazy way.