Skip to content

Streams leak memory #36

@KennethL

Description

@KennethL

grpcbox version v0.11.0
The grpcbox library leaks memory for each message sent on an open stream. In the stream_state record used for the h2_stream gen_statem data, there is an incoming_frames field. This field is a queue to which frames are added, but none are ever removed. In fact the information in this field is not used, apart from adding to it. Because of adding more and more data to it, the memory usage will keep increasing as long as the stream stays open. Note that currently the chatterbox library used by grpcbox is a forked one, not the original one.

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