镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Cannot set node options #111

Open
Open

Description

@jstewart3802

I cannot see a way in documentation to set the node options like --max-old-space-size to allow the app to use more ram.

Is this functionality missing from node SEA, or is there an undocumented way to set this option when creating a SEA?

Activity

  1. cspotcode commented on Feb 11, 2025

    @cspotcode

    Deno might work:

    $ deno compile -A --v8-flags="--max-old-space-size=12345" --output ./myclitool ./myclitool.ts
    $ ./myclitool
    
  2. GabenGar commented on Feb 12, 2025

    @GabenGar

    That's not a node SEA solution,

  3. cspotcode commented on Feb 12, 2025

    @cspotcode

    It's not, and it's a good solution for anyone wanting to build a nodejs codebase to a single executable. If you have a codebase written against nodejs APIs, and it runs on deno, you can compile it to a single executable.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions