Skip to content

High memory usage in Docker/Linux never decreases #28880

@IsaacThoman

Description

@IsaacThoman

Version: Deno 2.2.6
My project consistently uses around 700 mib more memory when running on linux/docker (compiled or not) vs running on MacOS/Windows (also compiled or not)

I periodically run Deno.MemoryUsage on the server, can be viewed by typing /debug into the web app.

All examples running Deno v2.2.6

MacOS Sequoia v15.4 (Deno runtime, non-compiled)
mem (mib): rss: 55.80, heapTotal: 18.23, heapUsed: 17.72, external: 2.96

debian:bookworm-slim Docker image (compiled)
mem (mib): rss: 707.11, heapTotal: 18.99, heapUsed: 17.55, external: 3.85

Ubuntu Desktop 22.04 LTS (Deno runtime, non-compiled)
mem (mib): rss: 483.50, heapTotal: 18.72, heapUsed: 17.27, external: 2.98

My project for reference: https://github.com/candirugame/candiru

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs infoneeds further information to be properly triagedneeds investigationrequires further investigation before determining if it is an issue or notperfperformance related

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions