stepci / stepci

Automated API Testing and Quality Assurance

Home Page:https://stepci.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: Crash when displaying binary response

mschfh opened this issue · comments

What happened?

stepci crashes when a test fails and it tries to display a ~3MB binary file.

Response

<--- Last few GCs --->

[1:0xffff867795e0]    12046 ms: Scavenge 1561.7 (1584.7) -> 1560.3 (1588.7) MB, 1.25 / 0.00 ms  (average mu = 0.275, current mu = 0.297) allocation failure;
[1:0xffff867795e0]    12056 ms: Scavenge 1571.5 (1596.1) -> 1570.4 (1604.1) MB, 2.50 / 0.00 ms  (average mu = 0.275, current mu = 0.297) allocation failure;


<--- JS stacktrace --->

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
----- Native stack trace -----

What did you expect to happen?

stepci doesn't crash

Version

2.8.0

Environment

Docker

How can we reproduce this bug?

No response

Relevant log output

No response

Would you be interested in working on a bugfix for this issue?

  • Yes! Assign me

This is now fixed thanks to your Pull Request!