Skip to content

Service ID zones leak malloc memory #62205

@rmacnak-google

Description

@rmacnak-google

Id zone allocation is implemented by appending to a list and deletion is implemented by replacing the element with null. Repeatedly allocating and deleted id zones thus consumes memory proportional to the number of id zones ever created rather then number currently alive. Repeatedly allocating and deleting id zones is an expected usage pattern for service clients performing high level operations that require multiple service RPCs.

@bkonyi @jyameo

Metadata

Metadata

Assignees

Labels

P2A bug or feature request we're likely to work onarea-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.triagedIssue has been triaged by sub teamtype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)vm-serviceThe VM Service Protocol, both the specification and its implementation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions