-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Toolkit Crashing after several hours of intercepting #580
Comments
Thanks for reporting this. I haven't seen this myself, although I don't normally leave the app running recording large volumes of traffic like this. Can you share your log file after this happens? That's available on Mac at If you monitor your system stats, does the device run out memory before this happens? Does the app still work like normal up until this point, or does it slowly break before it crashes? It depends how much traffic you're logging really, but at the end of the day we do have to hold everything your intercept in memory, so if you intercept large volumes that is eventually going cause big problems. I'm cautious about automatically deleting traffic like you suggest by default (very easy to unexpectedly lose recorded traffic that you are interested in) but it might make sense to explore configuration options here (e.g. stop after X MB of data, drop requests > Y MB, always store only the last 10 minutes of data, etc). Alternatively of course, maybe this crash is due to some other bug, since 10,000 normal requests really isn't that many! So I'd definitely like to investigate what exactly is actually failing in this case. |
I am having this issue as well. |
So far at 33,000 requests and UI is still stable A possible suggestion is maybe have a only mock mode? Where logs of intercept is disabled and is mainly just waiting for a request to come through triggering the mock |
Has this been reported before?
Repro steps
Have toolkit intercept requests for long period of time. Seems to be around the 10,000 requests mark where it begins to crash.
How often does this bug happen?
Every time
The desktop OS you're using
Mac 14.4.1
Details of other apps/devices
Intercepting requests via iPhone
Error screenshot
No response
Any other info?
A possible fix could be having a setting to auto delete after 1000 request made?
The text was updated successfully, but these errors were encountered: