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
[Performance] Application become unresponsive for large JSON #412
Comments
This is an interesting problem because it depends on o the hardware. What kind of computer are you running Insomnia on? Insomnia does, in fact, implement a size limit but it's currently set to 3MB: https://github.com/getinsomnia/insomnia/blob/develop/app/common/constants.js#L57 |
Macbook pro 2013 8gb i7 |
I think the problem is that Insomnia calculate respond size before it is ungziped and my 2.9mb response is actually 45MB response :) |
Ah, that's definitely the issue then. I've noticed things start slowing down after around 50MB of JSON on my 2016 Macbook Pro. I guess I should change it to account for the raw size instead. |
I have tested this json (45mb) on Paw app and it work very fast compared to insomnia. |
Insomnia wasn't designed to work for responses that large. I might spend some time working on improving this eventually, but it hasn't been a priority so far. |
@gschier perfectly understand it not usual to get so big json. Its probably because Paw use native components not Electron. But it will be nice to have ability to see raw json fast or just not render it in the same thread and block rest of UI (if it is possible). |
Totally agree. One day, one day 😄 |
@gschier what about fixing limit check on decompressed response? |
Ya, I'm releasing the next version of the app today, but I'll make sure that's fixed in the next one 😄 |
Currently I downloaded development branch and changed 3mb to 0.5mb :) Its not perfect but application start working again. |
Oh ya, sorry about that. If you want, you can also delete the individual response file(s) manually. On Mac, responses are stored in |
I'm having the same issue on v6.3.2 The application crashed at the first time and continues crashing when i open it. Where is this path for Windows? Thank you! |
Should be in the %APPDATA% directory I think @iquirino |
Overview
Insomnia Version:
5.7.4.933Operating System:
10.13 Beta (17A330h)Summary:
When request return very big JSON (2MB) application become unresponsive.How To Reproduce
When request return very big JSON (2MB) application become unresponsive.
Other Notes
It will be nice to have settings to limit size of JSON that is displayed.
The text was updated successfully, but these errors were encountered: