{"id":5353,"date":"2005-01-18T22:47:00","date_gmt":"2005-01-18T22:47:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/buckh\/2005\/01\/18\/problems-with-large-files-and-the-dec-ctp-in-team-foundation-version-control\/"},"modified":"2005-01-18T22:47:00","modified_gmt":"2005-01-18T22:47:00","slug":"problems-with-large-files-and-the-dec-ctp-in-team-foundation-version-control","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/buckh\/problems-with-large-files-and-the-dec-ctp-in-team-foundation-version-control\/","title":{"rendered":"Problems with large files and the Dec. CTP in Team Foundation Version Control"},"content":{"rendered":"<p>If you try, as one person in the <a href=\"http:\/\/blogs.msdn.com\/buckh\/archive\/2004\/06\/04\/148835.aspx\">Team Foundation newsgroup<\/a> did, to checkin large files (&gt;200 MB or so), you will reach a point where it fails with a message like&nbsp;&#8220;there is not enough storage to complete this command.&#8221;&nbsp; That is due to the fact that the Dec. CTP uses the MSPatch library to compress files for upload.&nbsp; The working set will grow proportionally with the size of the file, and the process will run out of memory.<\/p>\n<p>The design goal for Team Foundation Version Control is to support up to 2 GB files (size after compression).&nbsp; We have switched from MSPatch to the new&nbsp;<a href=\"http:\/\/msdn2.microsoft.com\/library\/zs4f0x23.aspx\">GZip<\/a> (okay, nothing&#8217;s written in stone, so keep in mind that it&#8217;s true while I&#8217;m typing) support built into the Whidbey framework.&nbsp; The result is that the working set grows by only about 5 MB or so regardless of file size, and it&#8217;s faster for larger files.<\/p>\n<p>We were really pushing MSPatch into a role for which it was probably not intended.&nbsp; It&#8217;s more suited for an environment where minimizing the compressed file is the primary goal while sacrificing run time and memory.<\/p>\n<p>Using GZip will make life easier for folks like <a href=\"http:\/\/sourcegear.com\">SourceGear<\/a> who want to write <a href=\"http:\/\/software.ericsink.com\/entries\/allerton.html\">non-Windows clients for Team Foundation<\/a>.<\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you try, as one person in the Team Foundation newsgroup did, to checkin large files (&gt;200 MB or so), you will reach a point where it fails with a message like&nbsp;&#8220;there is not enough storage to complete this command.&#8221;&nbsp; That is due to the fact that the Dec. CTP uses the MSPatch library to [&hellip;]<\/p>\n","protected":false},"author":94,"featured_media":10268,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[6,8],"class_list":["post-5353","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-source-control","tag-team-foundation"],"acf":[],"blog_post_summary":"<p>If you try, as one person in the Team Foundation newsgroup did, to checkin large files (&gt;200 MB or so), you will reach a point where it fails with a message like&nbsp;&#8220;there is not enough storage to complete this command.&#8221;&nbsp; That is due to the fact that the Dec. CTP uses the MSPatch library to [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/posts\/5353","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/users\/94"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/comments?post=5353"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/posts\/5353\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/media\/10268"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/media?parent=5353"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/categories?post=5353"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/tags?post=5353"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}