marko-js / marko-js/run

Unusually high memory usage

Open
#176 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
175
Forks
17
Avg merge
5h 26m
Merged PRs (30d)
5

Description

Summary

Memory usage of the development server spawned by marko-run keeps increasing with each hot reload as the source files are changed and even when the source files remains unchanged.

Environment

@marko/run: 0.9.3
marko: 6.0.0
vite: 7.2.4
bun: 1.3.x
node: v22.x

Reproduction Steps

  1. Create a project with bunx @marko/create
  2. Run the dev server bun run dev
  3. Edit any file under /src/routes
  4. Observe the memory usage of the node binary

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue using the listed @marko/create and bun run dev steps, then trace the development server's hot-reload path in @marko/run. Done means repeated edits under /src/routes, including unchanged files, no longer cause steadily increasing memory usage.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.