Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JavaScript heap out of memory #126

Open
axelbarfod opened this issue Aug 6, 2018 · 0 comments
Open

JavaScript heap out of memory #126

axelbarfod opened this issue Aug 6, 2018 · 0 comments

Comments

@axelbarfod
Copy link

I am runing a test that gets and API, this api returns a big response. After I get this response I get the id and make another request, after a couple of request I get the following error:

[70250:0x102801e00]    89290 ms: Mark-sweep 1412.0 (1596.5) -> 1412.0 (1576.0) MB, 1274.4 / 0.3 ms  (+ 0.0 ms in 0 steps since start of marking, biggest step 0.0 ms, walltime since start of marking 1274 ms) last resort GC in old space requested
[70250:0x102801e00]    90742 ms: Mark-sweep 1412.0 (1576.0) -> 1412.0 (1576.0) MB, 1451.5 / 0.3 ms  last resort GC in old space requested


<--- JS stacktrace --->

==== JS stack trace =========================================

Security context: 0x18b8a51a5ee1 <JSObject>
    2: /* anonymous */(aka /* anonymous */) [/Users/abarfod/workspace/chakram-api-testing-demo/node_modules/request/lib/helpers.js:45] [bytecode=0x18b8e6e68c39 offset=14](this=0x18b858002311 <undefined>,i=0x18b8a51828c1 <String[6]: domain>)
    3: arguments adaptor frame: 3->1
    4: forEach(this=0x18b874b90961 <JSArray[40]>)
    5: copy(aka copy) [/Users/abarfod/workspace/chakram-api-testing-de...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory

Has anyone faced this issue? How could I allovate more memory?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant