Skip to content

[Bug] make lint-web fails with JavaScript heap out of memory due to 8192MB limit in scripts/make/lint.mk #999

Closed

Description

@kyasbal

Overview

Describe the bug

Running make lint-web or make pre-commit fails with JavaScript heap out of memory during ng lint.

Current behavior

In scripts/make/lint.mk:

lint-web: $(GENERATE_FRONTEND_DUMMY)## Run frontend linter
	cd web && NODE_OPTIONS="--max-old-space-size=8192" npx ng lint
	cd web && npm run lint:style

With recent additions to the frontend (such as DAG viewer, task graph debug Smart/Layout components, view models, and type-checked ESLint rules), ESLint memory consumption exceeds 8,192 MB (8 GB), causing node to terminate with FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory.

Expected behavior

make lint-web and make pre-commit should complete linting successfully without running out of memory.

Reproductive steps

  1. Run make lint-web on a clean workspace with latest frontend changes.
  2. Observe ESLint OOM crash.

Suggested Fix

Increase --max-old-space-size in scripts/make/lint.mk from 8192 to 12288 (12 GB) or 16384 (16 GB):

lint-web: $(GENERATE_FRONTEND_DUMMY)## Run frontend linter
	cd web && NODE_OPTIONS="--max-old-space-size=16384" npx ng lint
	cd web && npm run lint:style

Activity

  1. added
    type:bug
    area:frontend
    area:devenv
    on Sep 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:devenvarea:frontendtype:bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions