Skip to content

How can Worker memory usage be managed ? #12544

@inverted-capital

Description

@inverted-capital

In this issue #6916 the ability was added to register a callback when an isolate is under memory pressure, so it can be terminated without bringing down the whole v8 instance. How can we access this capability ?

Specifically we would like the means of running untrusted code within a Worker instance, taking advantage of the sandboxing provided by Deno, and the efficiencies in resource usage and latency afforded by v8 isolates. Thank you for this great project.

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