Open
Description
Describe the bug
RedocStandalone have performance issue when rendering a contract with a lot of circular reference. It use a lot of memory (more than 1gb) and can often end to a browser page crash.
Issue faced on [email protected].
Expected behavior
Be able to render the contract with reasonable performance/memory consumption.
Screenshots
Using https://redocly.github.io/redoc/ show the same behaviour
Additional context
Example file that reproduce the behaviour
circular_reference.txt
I also tried to to bundle deferenced with redoc cli but the generated contract was not able to be rendered by RedocStandalone.