Foxtrek_64
Handling reading large files in C#
With MemoryMappedFile, you get to control the memory usage. By default I have it set to 2mb, but you can change that to whatever you want using the provided
LengthsConstants
or any long
value representing the number of bytes50 replies
Handling reading large files in C#
It will be available here in a few minutes: https://www.nuget.org/packages/Tafs.Activities.FileChunks/0.1.0
50 replies
Handling reading large files in C#
I created a few support files for that here: https://github.com/TA-RPA/Tafs.Activities/tree/main/src/Tafs.Activities.FileChunks
50 replies
Handling reading large files in C#
Ah yes, so the TL;DR is you want to open the file as a MemoryMappedFile
50 replies