yfm-transform icon indicating copy to clipboard operation
yfm-transform copied to clipboard

Transform overloads the CPU.

Open kkirik opened this issue 1 year ago • 0 comments

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 avatar Dec 12 '24 10:12 kkirik