Skip to content

v0.26.0 increases RAM usage significantly #2607

@yoursunny

Description

@yoursunny

I have a large monorepo https://github.com/yoursunny/NDNts that uses TypeDoc.

TypeDoc build steps in my monorepo
corepack pnpm install
corepack pnpm build
corepack pnpm typedoc

When using TypeDoc 0.25.13, the Node process running TypeDoc can run to completion using around 1.5 GB RAM.
After upgrading to TypeDoc 0.26.0, the Node process running TypeDoc needed to consume more than 7.3 GB RAM.
My system is Ubuntu 22.04, Node 20.12.2, TypeScript 5.4; I observed RAM usage with htop command.

The significant RAM increase would cause difficulty in running such builds on GitHub Actions free tier, which has a RAM limit of 7.5 GB.
Is there some way to reduce RAM usage, or break the build into multiple stages and then combine them?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionQuestion about functionality

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions