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

--max-old-space-size always reaches the maximum amount of memory and crashes. #21623

Closed
joaodornas opened this issue Jul 2, 2018 · 4 comments
Labels
wrong repo Issues that should be opened in another repository.

Comments

@joaodornas
Copy link

  • Version:
  • Platform:
  • Subsystem:

Dear Friend,

I am trying to install Matlab Production Server R2018a. It uses a Http Server using Node.js v8.
When I try to install, and the Matlab installation runs the command Node.exe, the installation crashes with the commom error of GC (Garbage Collection) telling that it reached the maximum amount of memory available.
I tried several times to use the option --max-old-space-size, with several options of memory size, running from 1GB of RAM to even 12GB of RAM and the Node application always reaches the maximum value and crashes.
I am using a Windows 10 Pro in a Virtual Machine with Hyper-V running in a Windows Server 2016.
Anybody knows what I can do and whether this is a bug or not?

Thank you for your help,

best regards,

Joao V Dornas

@mscdex
Copy link
Contributor

mscdex commented Jul 2, 2018

This issue tracker is for reporting bugs in node core and submitting feature requests for node core.

General help questions should be posted to the nodejs/help issue tracker instead.

Issues with third-party modules, npm, or other tools that use node, should be posted to the appropriate issue tracker for that project, unless it can be proven that the issue is in fact with node core and not the module/tool in question.

@mscdex mscdex closed this as completed Jul 2, 2018
@mscdex mscdex added the wrong repo Issues that should be opened in another repository. label Jul 2, 2018
@joaodornas
Copy link
Author

Dear mscdex,

is it not the case the problem I am reporting is a bug? I posted this message on Stackoverflow, Mathworks webiste and Node.js website and nobody has a clue about it.

best regards,

Joao

@mscdex
Copy link
Contributor

mscdex commented Jul 4, 2018

There is no evidence that this is a bug in node core. The most likely issue is that whatever script being run by node is consuming too much memory and never releasing any of it.

@joyeecheung
Copy link
Member

joyeecheung commented Jul 4, 2018

@joaodornas It's hard to tell if it's a bug of Node.js core given the limited description in the OP, it's more likely to be a bug in the application that you are trying to run (i.e. Matlab Production Server) and must be fixed in the code that you try to run and there won't be anything actionable from our end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wrong repo Issues that should be opened in another repository.
Projects
None yet
Development

No branches or pull requests

3 participants