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

Transform overloads the CPU. #582

Open
kkirik opened this issue Dec 12, 2024 · 0 comments
Open

Transform overloads the CPU. #582

kkirik opened this issue Dec 12, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@kkirik
Copy link
Contributor

kkirik commented Dec 12, 2024

We use transform on the Node.js side. There, we also use the includes plugin from @diplodoc/transform/lib/plugins/includes.

Currently, if the tree of includes in an MD file has a deep nesting (one file calls another, and so on), the Node instance crashes due to CPU overload.

Transform version:

4.40.0

Steps To Reproduce

  1. Create several files with a large number of includes that reference a large number of other files.

The current behavior

Node instance crashes due to CPU overload.

The expected behavior

Transform works normally

@kkirik kkirik added the bug Something isn't working label Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant