You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by ri...@ubs.com on 2011/03/14 19:12:33 UTC

Out of memory issue with svn merging

Hi,
 
We are seeing the following error when trying to perform a command-line
svn merge with Subversion 1.6.9 under 32 bit Windows XP.

	Out of memory - terminating application.

	This application has requested the Runtime to terminate it in an
unusual way. Please contact the application's support team for more
information.

Inspecting Windows task manager around this time reveals the following
memory usage

 

The peak memory usage of the svn.exe process is in excess of 1.8GB.

As an aside, we get the same result when trying to perform the merge
using TortoiseSVN.

We are trying to perform the merge from the root level of our
repository. The total file size (on a developer machine) of the
repository is around 3GB.

This is the first time that we are attempting a root-level merge. Are we
hitting an internal svn limit?


RE: Out of memory issue with svn merging

Posted by Chris Evans <Ch...@gresearch.co.uk>.
Without a 32bit executable being large address aware it's not going to be able to use more than around 2GB of virtual address space. Ideally you'd use a 64bit client on a 64bit OS. If that's not possible then you can maybe squeeze a bit more out of a 32bit client by forcing it to use up to 3GB.

Use MASM32 to apply the /LARGEADDRESSAWARE option to your client exe.   editbin.exe /LARGEADDRESSAWARE \path\to\svn.exe
Set /3GB in your boot.ini

See:
http://support.microsoft.com/kb/833721
http://masm32.com/
http://msdn.microsoft.com/en-us/library/wz223b1z(v=vs.80).aspx



*bypass*