The node process has crashed

This topic contains 3 replies, has 2 voices, and was last updated by 9 months, 1 week ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #545046 Reply

    Fedor Losev
    Participant

    Sometimes on compilation eclipse pops up “The node process has crashed” with underlying exception out of memory, after that nothing works (and due to auto-format on save I can’t even save the file). Eclipse itself has plenty of free memory.

    #545095 Reply

    Brian Fernandes
    Moderator

    Fedor,

    As part of the investigation into the issue here: https://www.genuitec.com/forums/topic/ci9-prelease-sporadic-ui-problem we are looking at what needs to be done to prevent this from happening. Either reduce memory consumption, or use a different version of node, or some other technique entirely.

    Unlike the the serving issue, this is an OOM error from the internal version of Node that we use to support TS and Angular development (providing the right content assist, validation, etc.) And being able to add more memory to this process is another item already on our road map (being the most straightforward solution in some cases). We’ll keep you posted.

    #545097 Reply

    Fedor Losev
    Participant

    Thanks, actually I think it is set to my global node (in Typescript -> Node.js runtime)

    Not sure what “use some other technique entirely” means, I don’t see how other node version or technique will change the node memory arguments (well, may be replacing node by exe that invokes another node, that sounds too much). Is there any simple way to increase default node memory?

    Adding compiler node memory setting to Webclipse definitely should help there, right?

    Regarding other issue, as I wrote, it doesn’t seem related to memory and even it is node process issue UI actions should not block on that forever.

    • This reply was modified 10 months ago by  Fedor Losev.
    #547329 Reply

    Brian Fernandes
    Moderator

    Fedor,

    To close this topic, just wanted to add that we are looking into that can be done on the memory management front, related to the suggestions you have made in the other thread.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: The node process has crashed

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.