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

Memory std::bad_alloc #24858

Closed
BannerBomb opened this issue Dec 5, 2018 · 3 comments
Closed

Memory std::bad_alloc #24858

BannerBomb opened this issue Dec 5, 2018 · 3 comments
Labels
invalid Issues and PRs that are invalid. memory Issues and PRs related to the memory management or memory footprint.

Comments

@BannerBomb
Copy link

After upgrading from nodejs v10.14.0, I start my small program using node . and the memory usage rises from >400MB until the ram is at 100% which is where I am greeted with

terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
Aborted (core dumped)

which did not happen until I upgraded to node v10.14.1 which happens within 10 seconds of starting the script.

@bnoordhuis
Copy link
Member

Do you have a standalone test case? 'Standalone' meaning using no third-party dependencies, only built-in modules?

@bnoordhuis bnoordhuis added memory Issues and PRs related to the memory management or memory footprint. v10.x labels Dec 6, 2018
@BannerBomb
Copy link
Author

sorry, I found out it was a ReDos.

@bnoordhuis
Copy link
Member

Okay, thanks for the update. I'll close out the issue.

@bnoordhuis bnoordhuis added the invalid Issues and PRs that are invalid. label Dec 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid Issues and PRs that are invalid. memory Issues and PRs related to the memory management or memory footprint.
Projects
None yet
Development

No branches or pull requests

2 participants