RE: adding very large file to repository fails

"Chester Campbell" <[email protected]>
Newsgroups gmane.comp.version-control.sourcegear-vault.user
Organization Slingshot, LLC
Message-ID <000201c3d6c5$583e86e0$c500a8c0@ITDELL01>
Hi,

Dan and Jeff are right. I owe you a lunch, but I'm not taking you to
Mindy's. (I wonder if anyone will get that?).

I can now upload my giant file with the memorylimit set to 80. Interestingly
enough, I originally tried 90 and after rebooting the server Vault would not
checkin any file, regardless of size. But at 80 everything works great.

Thanks for the help!
c

-----Original Message-----
From: Dan Schreiber [mailto:[email protected]] 
Sent: Thursday, January 08, 2004 9:15 PM
To: [email protected]; [email protected]
Subject: RE: [vault-list] adding very large file to repository fails


I would bet lunch at a fine dining establishment that the problem is IIS
running out of memory.

By default, it kills off processes that consume 60% of available physical
RAM, and it doesn't seem very smart about how it manages memory for uploads
- if you watch RAM usage on the server, it will chunk upwards during the
upload until it hits roughly the size of the file, and then it will briefly
double in size before releasing it all.  If you have only 512MB of RAM on
the server, a 125MB file could exceed the 60% limit if other work is taking
up additional memory in the process.  Look in the event viewer to see if it
says a worker process exceeded the limit.

I believe there are settings somewhere in IIS that control the threshold
where it kills off processes.

Also note that IIS seem to be fine on getting very large files.  I guess it
is smarter for downloads than uploads. :)

Dan Schreiber
SourceGear

>
> I'm trying to add a 125MB file to my repository. Using the admin tool 
> I changed the file upload limit to accommodate this but the upload 
> fails.

> Thanks,
>
> Chester Campbell Jr.
> Slingshot, LLC
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.