Skip to content

High Memory usage on SendTextJson, SendBinaryBson #1

@ranjancse26

Description

@ranjancse26

Thank you for building the amazing Json Websocket based library.

I have noticed the usage of Memory Stream in SendTextJson, SendBinaryBson. This will create a really high memory usage (inturn depends on the number of Websocket calls and the data that's being transferred) no matter there is a using statement on the memory stream. The best way to send the Json is by serializing the data using standard libraries like MessagePack.

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