SNOW-1786191: SNOW-1747415 High Memory Usage SFReusableChunk
#1055
Labels
backend changes needed
Change must be implemented on the Snowflake service, and not in the client driver.
enhancement
The issue is a request for improvement or a new feature
status-blocked
Progress cannot be made to this issue due to an outside blocking factor.
status-triage_done
Initial triage done, will be further handled by the driver team
What version of .NET driver are you using?
4.1.0
also tried to build and use latest version of master including fixes mentioned in SNOW-1612981: SNOW-1640968 SNOW-1629635 Massive Memory Load #1004What operating system and processor architecture are you using?
macOS 14.7 ARM
What version of .NET framework are you using?
.net standard 2.0
What did you do?
Pulling a lot of data is memory intensive.
We tried pulling 100M rows and the memory usage is averaging around ~800-900MB for a unit test, forcing garbage collection does not change anything.
This test is using the dapper unbuffered API which fully supports streaming.
The memory profiler is indicating that almost all of the objects allocated are in
SFReusableChunk
BlockResultData
.Profiler screenshots
Memory buffer sizes (chunks) should be more conservative/configurable.
Reproducing this is pretty straightforward. I can do it necessary.
The text was updated successfully, but these errors were encountered: