Yaak Logo
Yaak
Feedback/Freezes when I had a 1.6MB response

Freezes when I had a 1.6MB response

Yifan Zhang·a year ago
ReleasedBug

I have a HTTP request to an image generation endpoint, it returns json with image data (base64). It freezes Yaak, also when I open Yaak again, because this request is the first one in history, Yaak also takes a few minutes to become responsible. Not sure if it is related to the size of the content or something else.

Mac

Comments (4)

Sign in to leave a comment.

Gregory Schier

What kind of Mac hardware are you running?

Currently, Yaak hides response data if it exceeds 2MB because the Codemirror editor used to display the response can indeed be slow to render lots of text (especially if it’s all on one line).

I’m running a fairly new Mac, however, so I’m curious if I just placed the limit too high. Maybe I should lower it to 1MB and provide an option in settings to increase it if desired.

Yifan ZhangOP

I am running a M1 Max.

This is a response from image generation, so it is one line with image data. If the performance issue is related to long lines, maybe hide it when there is a very long line detected?

Gregory Schier

Ya that’s a good idea. I can probably switch the prompt trigger from comparing total size to a combination of total size and length of the longest line.

KristapsAX

I am experiencing similar problem when receiving big (3mb) zip files as response, clicking to another request and then back to the one with the response seems to freeze the app completely and need to restart.

Content Type: application/octet-stream

OS: Windows 11.

Type to search feedback...