aegif / CmisSync

Synchronize content between a CMIS repository and your desktop. Like Dropbox for Enterprise Content Management!
http://CmisSync.com
164 stars 123 forks source link

Unable to upload large video file (600 MB) #341

Open teterkin opened 10 years ago

teterkin commented 10 years ago

I have a task to upload large video files for educational content distribution. I am using IBM FileNet Content Manager 5.2. I can do the task using WebDAV, it works excellent, but WebDAV is going to be deprecated in future realises of IBM FileNet, so I am looking for new solutions. I have set up IBM CMIS for FileNet and I have set up CmisSync and it works OK. The problem with large file, I use 600 MB file for testing. After start of synchronization my FileNet became unresponsive. Also I noticed that since the start of syncing of that file, FileNet started to use huge amount of memory (looks like entire file went to RAM). I guess this is the cause of my problem.

ymolinet commented 10 years ago

DotCMIS do not merge my update for large upload : #86

nicolas-raoul commented 10 years ago

@ymolinet Are you sure it is the same problem? 600MB is less than the 2GB of #86.

ymolinet commented 10 years ago

Yes :

  1. DotCMIS is always build with Framework 3.5, Framework 4 is required for large upload 2 In atompub.cs, line 118 : if (offset < Int32.MaxValue && offset + length - 1 < Int32.MaxValue) { conn.AddRange((int)offset, (int)offset + (int)length - 1); } Even if offset and length as declare as long?, this method cast it in int ...