Skip to content

Reduce memory usage when using .dill #22

Description

@dylanblokhuis

Not really sure how Dart works internally but is it possible to omit the Dart Frontend compiler by not using "dfe"?

I compiled a version of dart_shared_library by not using dfe.ReadScript if a .dill file was provided and it saved around ~100mb of memory on Windows. See https://github.com/dylanblokhuis/dart_shared_library/blob/94b2912eaa46996ff6ea97877b2856d1d8ff29a7/src/isolate_setup.cpp#L255

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions