firefox-devtools / firefox-devtools/profiler

Can't upload profile due to "Out of Memory" error

Open
#2,534 7 comments 2 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.5k
Forks
491
Avg merge
3d 46m
Merged PRs (30d)
27

Description

I tried to record native and Javascript allocations while running some automation with Marionette. Therefore I disabled all the other threads only only left those two, and changed the buffer size to 450MB.

Uploading the profile errored with the following failure:

[Exception... "Out of Memory" nsresult: "0x8007000e (NS_ERROR_OUT_OF_MEMORY)" location: "JS frame :: https://profiler.firefox.com/795a166e4793db308baa.bundle.js :: uc/r< :: line 95" data: no]

Here the full stack:

```
Exception { name: "NS_ERROR_OUT_OF_MEMORY", message: "", result: 2147942414, filename: "https://profiler.firefox.com/795a166e4793db308baa.bundle.js", lineNumber: 95, columnNumber: 0, data: null, stack: "uc/r<@https://profiler.firefox.com/795a166e4793db308baa.bundle.js:95:15017\nasync*uc@https://profiler.firefox.com/795a166e4793db308baa.bundle.js:95:15037\nasync*fc/<@https://profiler.firefox.com/795a166e4793db308baa.bundle.js:99:80\nasync*$b/

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.