diplodoc-platform / diplodoc-platform/transform

Transform overloads the CPU.

Open
#582 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
69
Forks
59
Avg merge
1d 21h
Merged PRs (30d)
6

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.