-
Notifications
You must be signed in to change notification settings - Fork 328
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
Setting extension heap size doesn't seem to affect anything #467
Comments
@maxhillaert you can always pass in a server function to start the node server by itself. This gives you full control over how to start the server. This could also be an issue with the fact that we start Electron as RUN_AS_NODE instead of a pure node. You can also use the runtime property to point to a pure node runtime. |
Thanks. I’ll try that.
…On Fri, 22 Feb 2019 at 09:10, Dirk Bäumer ***@***.***> wrote:
@maxhillaert <https://github.com/maxhillaert> you can always pass in a
server function to start the node server by itself. This gives you full
control over how to start the server.
This could also be an issue with the fact that we start Electron as
RUN_AS_NODE instead of a pure node. You can also use the runtime property
to point to a pure node runtime.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#467 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAwNdEpIxbeEpQmsfT-6JRSY92BIFox9ks5vP7P-gaJpZM4bJKU6>
.
|
@maxhillaert how'd you go with this, did you find a way to increase the memory for the server? |
I tested this today and I was able to successfully pass the
and referencing the array in the validate call. and the server didn't crash starting it with I will close the issue. Please provide a GitHub repository I can clone that demos what you are seeing if you are still experiencing the problem. |
Steps to Reproduce:
I'm developing inhouse language service extension. The server process seems to be limited to heapsize of around 2000mb
I'm trying to override this in various ways:
`let serverOptions: ServerOptions = {
run: {
module: serverModule, transport: TransportKind.ipc,
args: ["--max_old_space_size=8096"],
options: {
execArgv: ["--max_old_space_size=8096"],
env: {
"NODE_OPTIONS": "--max_old_space_size=8096"
}
}
},
debug: {
module: serverModule,
transport: TransportKind.ipc,
options: {
execArgv: ['--nolazy', '--inspect=6009', '--max_old_space_size=8096'],
env: {
"NODE_OPTIONS": "--max_old_space_size=8096"
}
},
args: ["--max_old_space_size=8096"]
}
};
None of these seem to have an effect. The server process is stuck at 2000 mb until it bombs out.
Does this issue occur when all extensions are disabled?: Yes/No
The text was updated successfully, but these errors were encountered: