Hi
I'm trying to load from a dump file into a new repository.
And have a trouble.
A svnadmin process uses a lot of memory, about 6.7GB.
I firstly tried it on 32bit Linux with 4GB physical memory,
then it failed "Out of memory".
I tried it on 64bit Linux with 4GB physical memory and 4GB swap,
then it succeeded, but svnadmin uses 6.7GB virtual memory.
I have two questions:
Why does svnadmin use such memory?
Is this a bug or an expected behavior?
svnadmin load on 32bit Linux outputs:
<<< Started new transaction, based on original revision 118720
* adding path : AB/ABCDE/GHIJKL ... done.
* adding path : AB/ABCDE/GHIJKL/GHIJKL ...Out of memory - terminating
application.
ps outputs:
nriuser 21495 76.0 73.8 3078452 3062428 pts/1 R+ 11:07 24:22 svnadmin
load /home/nriuser/svn/foo
I attached the whole ps output text with the command:
while true; do date; ps ux | grep -v grep | grep svnadmin;
echo; sleep 10; done
Dumps are created separated with --incremental.
1,158,283,603 bytes 1-40000.dump
2,539,323,286 bytes 40001-80000.dump
10,287,123,925 bytes 80001-120000.dump
2,616,197,892 bytes 120001-167711.dump
Exported files of HEAD
counts: about 113600
whole size: about 4.4GB
Repository
revision: 167711
size: about 11GB
32bit Linux
OS: CentOS 5.3 i386
Memory: 4GB
Swap File: 5GB
Subversion: 1.6.3 (from tarball)
APR: 1.3.5 (from subverion-deps)
APR-Util: 1.3.7 (from subverion-deps)
64bit Linux
OS: CentOS 5.3 x86_64
Memory: 4GB
Swap File: 4GB
Subversion: 1.6.2 (from tarball)
APR: 1.3.3 (from Apache 2.2.11)
APR-Util: 1.3.4 (from Apache 2.2.11)
Thanks in advance
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2367705
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-07-03 07:59:41 CEST