Viewers icon indicating copy to clipboard operation
Viewers copied to clipboard

Heap out of memory

Open trung1704ptit opened this issue 6 years ago • 6 comments

Hi, I still get this error in development mode. ref to the bug:https://github.com/OHIF/Viewers/issues/1408

So I think we need to do something to fix it. node --max-old-space-size=8192 yourFile.js in package.json when whe run yarn start command.

I don't know yourFile.js in this product when we run yarn start. Can you tell us about this

trung1704ptit avatar Feb 27 '20 02:02 trung1704ptit

Hi there, I think I will close this issue, the reason because I used Nodejs 10.15.x => solution update Nodejs to 12.16.x

trung1704ptit avatar Mar 03 '20 09:03 trung1704ptit

All similar issues have been closed but none actually states any working solution. I'm on Node v13.9.0 and getting memory error even with --max-old-space-size=8192.

p.s. it sort of worked before with https://github.com/OHIF/react-viewerbase. Memory error appeared after switching to https://github.com/OHIF/Viewers/tree/master/platform/ui

p.p.s increasing to 11GB ram didn't help

desprit avatar Aug 19 '20 12:08 desprit

I'm, also, have similar issues. All my trials to import @ohif/* library in react was failed because of memory error even with 16GB RAM.

Is there any updates?

Jinmyeong-Shin avatar Oct 06 '20 02:10 Jinmyeong-Shin

Is there any solution for this error? I'm trying to import @ohif/viewer package and getting the same error. Im on Node v14.17.0

chengviz avatar Jun 23 '21 06:06 chengviz

Just ran into this one as well when I've upgraded to latest react-scripts and react.

thiagoss avatar Mar 30 '22 17:03 thiagoss

Please review the latest code in the master branch. I am confident that this issue has been resolved. If it persists, kindly reopen the issue with updated details.

Try viewer-dev.ohif.org instead of viewer.ohif.org Our viewer.ohif.org is deployed from release branch while viewer-dev.ohif.org is our master branch Read more about branch explanations here https://docs.ohif.org/development/getting-started#developing

sedghi avatar Oct 13 '23 02:10 sedghi