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

Running Guild.emojis.create() without any parameters ends with the process crashing due to heap out of memory #3933

Closed
1 task
timozaaijer opened this issue Mar 12, 2020 · 1 comment · Fixed by #3934

Comments

@timozaaijer
Copy link

timozaaijer commented Mar 12, 2020

Please describe the problem you are having in as much detail as possible:
While running the below code my RAM usages spikes from ~100MB to 8GB and then crashes the process with this message:

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory

Include a reproducible code sample here, if possible:

Guild.emojis.create() // Without any parameters

Further details:

  • discord.js version: 12.0.2

  • Node.js version: 12.16.1

  • Operating system: Ubuntu 18.04.4 LTS x86_64

  • Priority this issue should have – please be realistic and elaborate if possible: Low

  • I have also tested the issue on latest master, commit hash:

@lumap
Copy link

lumap commented Mar 12, 2020

Can reproduce | node 13.1,djs v12.0.0

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants