IIS File Upload Limit 1024000 KB

This forum is now locked, since Gold Support is no longer offered.

Moderator: SourceGear

Locked
Niklas
Posts: 18
Joined: Tue Mar 30, 2004 9:09 am

IIS File Upload Limit 1024000 KB

Post by Niklas » Thu Sep 23, 2004 4:54 am

Hi,

I'm trying to check in files that are ~700MB, the server returns wrong file size?
Message in client
(657122422 bytes) is larger than server's configured upload limit of 104 857600 bytes.
104 857 600 bytes is only ~100MB, the setting in the admin tool 1024000KB should be sufficient?

/Niklas

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Thu Sep 23, 2004 7:06 am

It looks like you need to add a 0 to the end of the maximum limit in the admin tool.

However, keep in mind that when uploading files, IIS gobbles up huge amounts of RAM in order to process the file. You may need a server machine with over 1 Gig RAM to upload a 700MB file. If something goes wrong in IIS, check the event viewer.

jclausius
Posts: 3702
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Thu Sep 23, 2004 7:17 am

In addition to Dan's post, another word of caution. On a normal Windows Server, any given process can only use a TOTAL of 2GB of memory. Not only does the 2GB include any new memory allocations, but also the currently allocated memory used by the Vault server, .Net Framework, loaded .dlls, etc.

So, when Microsoft's IIS buffers the uploaded single, large file, it may encounter an eventual failure, as the process will not be able to allocate any more memory when it hits the Memory limit threshhold.
Jeff Clausius
SourceGear

Niklas
Posts: 18
Joined: Tue Mar 30, 2004 9:09 am

Post by Niklas » Thu Sep 23, 2004 8:43 am

[quote="dan"]It looks like you need to add a 0 to the end of the maximum limit in the admin tool.

Uh, yeah sure it looks like we have to add a zero.
1024 000 KB to me, it means 1024 MB which is more than 700 MB.
The problem is that the tool then writes 104 857 600 bytes which to me is ~104 MB. I should also guess that there's a zero missing.

Thanks for the description about the IIS issues.

/Niklas

Locked