question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

FATAL ERROR: CALL_AND_RETRY_2 Allocation failed - process out of memory

See original GitHub issue

Hello, I am using File Transport.

My Code Snippet

for(var i = 0 ; i < 1000000 ; i++){
    logger.debug("DEBUG JJ: ",i);
    //Some calculations over here
};

After executing this code i am getting

OUTPUT :
FATAL ERROR: CALL_AND_RETRY_2 Allocation failed - process out of memory
Aborted

As i am iterating using for loop and taking logs into file, winston is doing so much of file write operation.

Please tell me some solution for this.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:13 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
lucasrenancommented, Jul 14, 2016
0reactions
pankaj20deccommented, Apr 12, 2016

I am setting up telescope on my localhost. When I am downloading meteor using cmd then I am getting
above issue. Anyone can help me ??

Read more comments on GitHub >

github_iconTop Results From Across the Web

Node.js "FATAL ERROR: JS Allocation failed - process out of ...
What I really need is some way to find out what the state of the memory is at the moment the application crashes,...
Read more >
Allocation failed - process out of memory · Issue #13018
I had the same problem and it did not explain to me why when I executed npm build once it was successful and...
Read more >
FATAL ERROR: Zone Allocation failed - process out of memory
Guys, I have Created Pipeline in azure devops that continuous build and deploy my node js project on my azure virtual machine iis...
Read more >
process out of memory in preprocessing my js fiels-node.js
Coding example for the question FATAL ERROR: CALL_AND_RETRY_2 Allocation failed - process out of memory in preprocessing my js fiels-node.js.
Read more >
Sometimes when i run `npx hardhat compile` i get this error ...
Sometimes when i run `npx hardhat compile` i get this error: FATAL ERROR: NewNativeModule Allocation failed - process out of memory.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found