Skip to content

Main thread: isolate live preview memory thrashing #2234

@abose

Description

@abose

Describe the bug

If live preview allocates and releases too much memory frequently, then the GC will start to thrash and bring down the the editor as well in responsiveness. To mitigate this:

limit memory usage by embedded live preview. unfortunately, performance.memory vars are only available in chrome and wont be usable in mac desktop.

Maybe we can use Tauri 2 with dedicated multi webview approach?

Reproduction

No response

Expected behavior

No response

OS, Browser and Phoenix versions

all

logs or debug stack trace if any

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions