Open
Description
For a larger codebase with framework code (angular) I am using this module. When several errors are thrown and several stracktraces are requested in a short succession memory usage spikes absolutely out of control.
Expected Behavior
Should require a little bit less memory per error.
Current Behavior
Memory spikes out of control.
This is how stacktraces are requested.
StackTrace.fromError(err)
.then((stackframes) => {
return stackframes
.splice(0, 20)
.map((sf) => {
return sf.toString();
}).join('\n');
});
Metadata
Metadata
Assignees
Labels
No labels