Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
muthu1 opened this issue Aug 1, 2019 · 2 comments
Open

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

muthu1 opened this issue Aug 1, 2019 · 2 comments

Comments

@muthu1
Copy link

muthu1 commented Aug 1, 2019

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.

@stefanmcshane
Copy link
Contributor

Apologies for the delayed response - please provide sample code and we can get to the bottom of this

@vetinari
Copy link
Contributor

#172 this is probably the way to go...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants