tag:support.hglabhq.com,2012-10-18:/discussions/problems/882-push-problems-500-argument-out-of-rangeHgLab: Discussion 2015-12-01T08:09:50Ztag:support.hglabhq.com,2012-10-18:Comment/385848892015-11-30T20:37:19Z2015-11-30T20:37:20Zpush problems 500 argument out of range<div><p>I am trying to push a 2.7GB repo, beyond the range of int32.
I've been trying to push it and have been running into lots of
issues. Here's a run down of things I've done using version
1.8.5.0</p>
<ul>
<li>disable 32 bit support in app pools</li>
<li>change the app pools managed pipeline mode to classic</li>
<li>increase max lengths in the web.config file</li>
</ul>
<p>The latest error I'm getting is</p>
<p>System.IO.Stream.InternalCopyTo(… Int32 buffSize) was
throwing an argument out of range exception at</p>
<p>HgSharpServer.ExecuteUnbundle(HgHttpCommandContext context) in
d:\projects\hgsharp\src\HgSharp.Server\HgHttpServer.cs line 311</p>
<p>Is there a fix for this?</p></div>hoochul.kimtag:support.hglabhq.com,2012-10-18:Comment/385848892015-12-01T08:09:48Z2015-12-01T08:09:48Zpush problems 500 argument out of range<div><p>Hello, Kim!</p>
<p>HgLab is known to have problems with large repositories. You can
circumvent HgLab entirely for your first push by just copying the
<code>.hg</code> directory directly to the server, under
<code>HGLAB_HOME_DIRECTORY\repositories\mainline\PROJECT_SLUG\REPOSITORY_NAME</code>.</p></div>Anton Gogolev