how to load a file into a blob without loading into RAM first?

Posted by Ace Grace on Stack Overflow See other posts from Stack Overflow or by Ace Grace
Published on 2010-03-28T21:03:53Z Indexed on 2010/03/28 21:13 UTC
Read the original article Hit count: 189

Hi,

I am using C# and I am having trouble loading large files into a binary field use byte arrays.

Basically, if I load a file that is too large, I get memory problems.

Is there a way to load a file into a binary field without using large amounts of ram, i.e. avoid loading the file into memory first?

If it helps, I am using Advantage Database Server and this is using a winforms app not a web app.

Regards

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET