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.

Problem On Windows (FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory)

See original GitHub issue

Hi guys I’ve installed NodeJS and Meteor. In OHIFViewer folder I goto bin folder and Run ORTHANCDICOMWEB.Bat It Starts Processing but It finish with following Error. Would you please Help:

` D:\OHIFW\OHIFViewer>orthancdicomweb

D:\OHIFW\OHIFViewer>set METEOR_PACKAGE_DIRS=…\Packages

D:\OHIFW\OHIFViewer>meteor --settings …/config/orthancDICOMWeb.json [[[[[ ~\D\OHIFW\OHIFViewer ]]]]]

=> Started proxy. => Started MongoDB.

Unable to resolve some modules:

“jspdf” in /D/OHIFW/OHIFViewer/Packages/ohif-measurements/client/reports/base.js (web.browser) “chaijs~type-detect@0.1.1” in /D/OHIFW/OHIFViewer/StandaloneViewer/SampleClientOnlyBuild/48eac8c64f443010750ab1b683a69e5f65dba791.js (web.browser) “chaijs~assertion-error@1.0.0” in /D/OHIFW/OHIFViewer/StandaloneViewer/SampleClientOnlyBuild/48eac8c64f443010750ab1b683a69e5f65dba791.js (web.browser) “chai/lib/chai/utils/getPathInfo.js” in /D/OHIFW/OHIFViewer/StandaloneViewer/SampleClientOnlyBuild/48eac8c64f443010750ab1b683a69e5f65dba791.js (web.browser) “chai/lib/chai/utils/hasProperty.js” in /D/OHIFW/OHIFViewer/StandaloneViewer/SampleClientOnlyBuild/48eac8c64f443010750ab1b683a69e5f65dba791.js (web.browser) “chai/lib/chai/utils/type.js” in /D/OHIFW/OHIFViewer/StandaloneViewer/SampleClientOnlyBuild/48eac8c64f443010750ab1b683a69e5f65dba791.js (web.browser) “chaijs~deep-eql@0.1.3” in /D/OHIFW/OHIFViewer/StandaloneViewer/SampleClientOnlyBuild/48eac8c64f443010750ab1b683a69e5f65dba791.js (web.browser) “chai/lib/chai/utils/getPathValue.js” in /D/OHIFW/OHIFViewer/StandaloneViewer/SampleClientOnlyBuild/48eac8c64f443010750ab1b683a69e5f65dba791.js (web.browser) “chai/lib/chai/utils/getName.js” in /D/OHIFW/OHIFViewer/StandaloneViewer/SampleClientOnlyBuild/48eac8c64f443010750ab1b683a69e5f65dba791.js (web.browser)

If you notice problems related to these missing modules, consider running:

meteor npm install --save jspdf chaijs~type-detect@0.1.1 chaijs~assertion-error@1.0.0 chai chaijs~deep-eql@0.1.3

Linking / <— Last few GCs —>

275917 ms: Scavenge 692.5 (730.2) -> 692.5 (730.2) MB, 1.1 / 0 ms (+ 3.0 ms in 1 steps since last GC) [allocation failure] [incremental marking delaying mark-sweep]. 276352 ms: Mark-sweep 692.5 (730.2) -> 692.5 (730.2) MB, 434.9 / 0 ms (+ 5.0 ms in 2 steps since start of marking, biggest step 3.0 ms) [last resort gc]. 276787 ms: Mark-sweep 692.5 (730.2) -> 692.2 (730.2) MB, 435.8 / 0 ms [last resort gc].

<— JS stacktrace —>

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

Security context: 3FB6CC95 <JS Object> 1: addMappingWithCode(aka addMappingWithCode) [C:\Users\EDP-Service\AppData\Local.meteor\packages\meteor-tool\1.5.0\mt-os.windows.x86_32\dev_bundle\lib\node_modules\source-map\lib\source-node.js:~144] [pc=25280430] (this=3FB080DD <undefined>,mapping=1BAA0B81 <an Object with map 396FFB15>,code=3FB2A919 <String[1]: e>) 2: /* anonymous */ [C:\Users\EDP-Service\AppData\Local.meteor\packages\met…

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory

D:\OHIFW\OHIFViewer>`

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
nh1984commented, Jun 17, 2017

Dear Erik

I’ve Re-Installed OS and The issue is solved. I’ll go ahead and if any other issue I’ll keep you posted.

0reactions
SANTHOSH-SJcommented, Oct 9, 2018

You might need to set the TOOL_NODE_FLAGS environment variable to increase the memory available to the app while it builds: https://forums.meteor.com/t/meteor-wont-start-with-max-old-space-size-solved/44745/2

e.g. set NODE_OPTIONS=–max-old-space-size=8192

It shows this message node.exe: -max-old-space-size=8192 is not allowed in NODE_OPTIONS

Read more comments on GitHub >

github_iconTop Results From Across the Web

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed ...
To solve this issue you need to run your application by increasing the memory limit by using the option --max_old_space_size . By default...
Read more >
How to resolve - FATAL ERROR: CALL_AND_RETRY_LAST ...
Can anyone guide me why what could be the issue which is causing the below error. FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed ...
Read more >
JavaScript heap out of memory - Snyk Support
FATAL ERROR : Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory. FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed ...
Read more >
How to solve JavaScript heap out of memory error
Learn how you can fix JavaScript heap out of memory error. ... FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of ...
Read more >
Docker Build: FATAL ERROR: CALL_AND_RETRY_LAST ...
FATAL ERROR : CALL_AND_RETRY_LAST Allocation failed - process out of memory Aborted ERROR: Service 'app-build' failed to build: The command ...
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