Skip to content

VM out of memory handling is brittle #43642

@rmacnak-google

Description

@rmacnak-google

Between a Dart allocation running out of memory and either a Dart exception handler clearing a reference or the message loop ending with the unhandled exception there are various small implementation allocations that can become fatal (such as #43543). We should try to remove the most common allocations, and reserve some memory that only becomes available for implementation allocations after the out of memory exception is thrown.

Metadata

Metadata

Labels

area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.crashProcess exits with SIGSEGV, SIGABRT, etc. An unhandled exception is not a crash.type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions