November Happy Hour will be moved to Thursday December 5th.

Large files in VPP

Vote:
 

Hi,

if we have large files in the VPP (let's say 1GB). Will they be loaded in to the memory while being downloaded? Or will they be loaded into the memory in any other process?

/Erik

#85143
Apr 16, 2014 10:55
Vote:
 

If the file inherits EPiServer.Web.Hosting.VirtualFileEx (which UnifiedFile and hence NativeFile and VersioningFile) then it should not be loaded into memory. TransmitFile is used in those cases, see http://msdn.microsoft.com/en-us/library/12s31dhy(v=vs.100).aspx

#85159
Apr 16, 2014 12:00
Vote:
 

Thanks for the reply, think the issue was caused by some bad code rather than the file it self.. :)

#85211
Apr 16, 2014 22:56
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.