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

A big core dump appeared in my project folder #1287

Closed
Naorm opened this issue Oct 25, 2021 · 2 comments
Closed

A big core dump appeared in my project folder #1287

Naorm opened this issue Oct 25, 2021 · 2 comments

Comments

@Naorm
Copy link

Naorm commented Oct 25, 2021

A big core dump files appeared on my project folder
what is it?
do sls offline create it?
do i need it?
can i stop those files from being created?

Hello i'm using serverless offline.
Some strange files with pretty big size (600MB) are created on my project folder while using sls offline.
Using file util i found that sls offline process is responsible for this files.

this is what i get when running file util on created files:
core.4842: ELF 64-bit LSB core file, x86-64, version 1 (SYSV), SVR4-style, from 'npm exec sls offline --host 172.17.0.2 --httpPort 3000 --httpsProtocol ssl', real uid: 1000, effective uid: 1000, real gid: 1000, effective gid: 1000, execfn: '/usr/bin/node', platform: 'x86_64'

Thanks

@Naorm
Copy link
Author

Naorm commented Nov 17, 2021

I'm closing this issue.
sls offline is not in anyway related to this issue.
apparently those core files are created by the node process or docker.
The reason is that my machine is running out of memory while running serverless - JavaScript heap out of memory.
I'm using a machine with 2 GiB of memory to run the serverless process.
apparently sometimes 2 Gib is not enough to complete the build process.

@Naorm Naorm closed this as completed Nov 17, 2021
@Naorm
Copy link
Author

Naorm commented Nov 17, 2021

Closing this issue from the reason i wrote above

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

1 participant