Skip to content

256 KiB fiber stack allocated for every async function #40

Description

@olup

My toy server exhausts memory very quickly because every async function call, whether awaited or not, creates a fiber with a 256 KiB stack.

This part may still be a work in progress, but a stackless coroutine implementation based on state machines would likely be much more memory-efficient.

Activity

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