response() function causes application freeze

When using the response() function in Yaak, the application completely freezes for approximately 2 minutes, leaving the UI blank and unresponsive.

Environment:

  • OS: Linux (Ubuntu/Mint)

  • CPU: AMD Ryzen 7 7730U

  • RAM: 15GB total

  • Storage: 467GB SSD

  • Responses directory size: 184MB (~hundreds of files)

  • Directory path: ~/.local/share/app.yaak.desktop/responses

Observed Behavior:

During the freeze, system monitoring (btop) showed:

  • RAM usage spike: +100MB increase (from 216MB to 316MB)

  • High I/O activity: Disk usage indicator turned RED, suggesting heavy read operations

  • Disk reads: Approximately 2.0GB read during the freeze period

  • CPU usage: Relatively low (3-21%), ruling out heavy processing

  • UI: Completely frozen, no response to user input

Possible Theory:

I'm not entirely sure how the response() function works internally, but based on the observed I/O patterns, I wonder if it might be scanning or reading through the entire responses directory? The correlation between disk activity and the freeze duration made me think this could be a possibility, though I could be wrong about the root cause.

Happy to provide more information or run additional tests if it would help diagnose this!

Attachments:

Please authenticate to join the conversation.

Upvoters
Status

Needs Reproduction

Board

Feedback

Tags

Bug

Date

7 months ago

Author

Yeison Soto

Subscribe to post

Get notified by email when there are changes.