Ebeo / google-gdata

Automatically exported from code.google.com/p/google-gdata
0 stars 0 forks source link

.NET YouTube API loads large files into memory #353

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The .NET YouTube API currently loads upload requests into an in-memory
MemoryStream (see MediaService.EntrySend and
GDataGAuthRequest.GetRequestStream).  This fails with OutOfMemoryExceptions
in memory constrained environments when you are uploading large files. 

Original issue reported on code.google.com by bryan.murphy on 17 Mar 2010 at 4:35

GoogleCodeExporter commented 9 years ago
Yes.  

Use the scotty resumable upload component. That fixes the issue.  The standard 
codepath can not easily be fixed 
due to retry requirements and all kind of side issues. The ResumableUploader is 
the solution. 

Frank

Original comment by fman...@gmail.com on 18 Mar 2010 at 6:44