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

Use streams when reading image data from SQL #359

Closed
jeffputz opened this issue Feb 2, 2024 · 0 comments
Closed

Use streams when reading image data from SQL #359

jeffputz opened this issue Feb 2, 2024 · 0 comments
Assignees
Labels

Comments

@jeffputz
Copy link
Collaborator

jeffputz commented Feb 2, 2024

Currently the bits grab the entire byte array, load it into a stream, and then send it down the pipe. Just bypass that and use the SqlDataReader.GetStream() instead.

While this hasn't been a serious memory constraint in practice, it's another thing to do for scale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Done
Development

No branches or pull requests

1 participant