Skip to content

Simulate low memory or throttle memory like how DevTools can throttle CPU #12

Open
@zoherghadyali

Description

@zoherghadyali

When debugging an issue that only reproduces in low memory environments, DevTools should have the ability to simulate low memory or throttle memory. DevTools can already throttle CPU to mimic slow performance and it'd be useful for memory debugging to be able to do the same.

From List of V8 flags, V8 has a flag called --max-old-space-size that appears to constrain the memory usage of a tab in the browser when specified via --js-flags but we should continue to investigate if this actually simulates low memory or if the tab has the same virtualized memory it would normally have.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions