Skip to content

Ruby Arena object should use xrealloc/xfree so Ruby is aware of allocated memory #9546

Closed
@haberman

Description

@haberman

Once the upb arena can report the number of bytes allocated (https://github.com/protocolbuffers/upb/issues/528) we should make the Ruby Arena object report bytes allocated via the dfree member of Arena_type.

This will hopefully convince Ruby to run the GC more often and prevent the growing memory usage we have seen reported in #9467.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions