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

optimize memory usage #136

Closed
Pfurr opened this issue Mar 8, 2019 · 6 comments
Closed

optimize memory usage #136

Pfurr opened this issue Mar 8, 2019 · 6 comments

Comments

@Pfurr
Copy link

Pfurr commented Mar 8, 2019

INFO Created data directory
internal/child_process.js:323
throw errnoException(err, 'spawn');
^

Error: spawn ENOMEM
at _errnoException (util.js:1024:11)
at ChildProcess.spawn (internal/child_process.js:323:11)
at Object.exports.spawn [as _spawn] (child_process.js:502:9)
at t.async (/root/code-server-1.31.1-100-linux-x64/code-server:716:35021)
at e.exports (/root/code-server-1.31.1-100-linux-x64/code-server:716:34522)
at e (/root/code-server-1.31.1-100-linux-x64/code-server:716:33324)
at Timeout.c [as _onTimeout] (/root/code-server-1.31.1-100-linux-x64/code-server:716:33617)
at ontimeout (timers.js:475:11)
at tryOnTimeout (timers.js:310:5)
at Timer.listOnTimeout (timers.js:270:5)

@NGTmeaty
Copy link
Contributor

NGTmeaty commented Mar 8, 2019

From what I can see this looks to be a SWAP/Memory issue. How much memory does your droplet have?

@Pfurr
Copy link
Author

Pfurr commented Mar 8, 2019

1 GB Memory

@NGTmeaty
Copy link
Contributor

NGTmeaty commented Mar 8, 2019

Could you post your droplet's memory usage while this happens?

@Pfurr
Copy link
Author

Pfurr commented Mar 8, 2019

schermata 2019-03-08 alle 15 18 52

i'm testing on -p 80 & 8443 but it don't work, same error

@kylecarbs
Copy link
Member

It's likely out of mem. We'll be optimizing for mem usage soon!

@kylecarbs kylecarbs added the perf label Mar 8, 2019
@nhooyr nhooyr changed the title throw errnoException(err, 'spawn'); (droplet digital ocean Ubuntu 18.10 x64) optimize memory Mar 8, 2019
@nhooyr nhooyr changed the title optimize memory optimize memory usage Mar 8, 2019
@nhooyr
Copy link
Contributor

nhooyr commented Mar 8, 2019

See #140

@nhooyr nhooyr closed this as completed Mar 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants