Skip to content

how do i handle large data coming from ldap search #223

@muthu1

Description

@muthu1

i am getting some 5 million object's data from my ldap search command and if i try to run my go server with multiple threads doing search it crashes in few minutes saying out of memory. how do i handle it. is there any way to convert my data to json format and sent it directly to the response writer without storing the data ? so it doesn't crash saying runtime out of memory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions