Proxyman icon indicating copy to clipboard operation
Proxyman copied to clipboard

[BUG] Proxyman is not responding when leave it overnight

Open NghiaTranUIT opened this issue 3 years ago • 5 comments

Description

Some users report that Proxyman is unresponsive when it is running overnight. It can be a result of out-of-memory. We have to find a solution to fix it.

Acceptance Criteria

  • Automatically reduce the memory usage if it exceeds a certain point.
  • Auto clear old requests/responses to save memory. Make sure the app is always responsive 👍

NghiaTranUIT avatar Mar 15 '22 01:03 NghiaTranUIT

Can confirm, uses sub 100mb memory at the beginning, but goes up to almost 5gb after some time.

ilendemli avatar Sep 14 '22 19:09 ilendemli

@ilendemli can you share with me what domain/apps are in the Tool -> SSL Proxying List?

If it contains:

  • * : All Wildcard
  • Web Browser: Google Chrome, Safari, ...

It's a reason why you get a huge memory usage.

NghiaTranUIT avatar Sep 15 '22 01:09 NghiaTranUIT

@NghiaTranUIT there was one entry, github.com, used almost 1gb of memory at about 24h uptime, it went down to ~95mb after removing it

ilendemli avatar Sep 15 '22 09:09 ilendemli

1gb of memory at about 24h uptime

n general, Proxyman keeps uncompress data of all Github's requests/responses. Thus, it might accumulate to 1 Gb for 24h. I suppose that it's reasonable.

I don't want to automatically purge the data until the user actually does it (By Clicking on the clearing button).

NghiaTranUIT avatar Sep 16 '22 23:09 NghiaTranUIT

In my case, the recording was disabled but System and External Proxy Override were active with that entry in the SSL Proxying List. So it was accumulating the data without me ever having any way to access it. Kinda feels odd, doesn't it?

ilendemli avatar Sep 17 '22 15:09 ilendemli

@NghiaTranUIT I think it is not needed to keep uncompressed data as long as it is not recording.

ilendemli avatar Mar 03 '23 09:03 ilendemli