On Friday 28 September 2007 Simon Sprünker wrote:
> I am using svn+ssh://.
With svn+ssh:// and a 100MB random-bytes file I can reproduce the
memory usage. The only problem is ... it doesn't seem to be a problem
in my functions, but in subversion:
Breakpoint 1, 0x00002b4c96ff7540 in sbrk () from /lib/libc.so.6
(gdb) bt
#0 0x00002b4c96ff7540 in sbrk () from /lib/libc.so.6
#1 0x00002b4c96fa1649 in __default_morecore () from /lib/libc.so.6
#2 0x00002b4c96f9d997 in ?? () from /lib/libc.so.6
#3 0x00002b4c96f9ed63 in malloc () from /lib/libc.so.6
#4 0x00002b4c973b84dc in apr_palloc () from /usr/lib/libapr-1.so.0
#5 0x00002b4c965bcea6 in svn_stringbuf_ensure () from
/usr/lib/libsvn_subr-1.so.1
#6 0x00002b4c965bcf32 in svn_stringbuf_appendbytes () from
/usr/lib/libsvn_subr-1.so.1
#7 0x00002b4c9844758f in ?? () from /usr/lib/libsvn_ra_svn-1.so.1
#8 0x00002b4c9844764d in svn_ra_svn_read_item () from
/usr/lib/libsvn_ra_svn-1.so.1
#9 0x00002b4c98440acc in ?? () from /usr/lib/libsvn_ra_svn-1.so.1
#10 0x0000000000413a91 in rev__get_file (sts=0x63baf0, revision=10,
fetched=0x7fff147299d8, only_tmp=0x0, pool=<value optimi
#11 0x0000000000414505 in rev__action (sts=0x63baf0, path=0x63d178 "./asdf") at
revert.c:445
#12 0x0000000000404024 in ac__dispatch (sts=0x63baf0, path=0x63d178 "./asdf")
at actions.c:53
#13 0x000000000041a762 in waa__update_tree (root=<value optimized out>,
cur_block=0x63bbe0) at waa.c:1894
#14 0x000000000041a97b in waa__partial_update (root=0x7fff14729b80, argc=1,
normalized=0xfffffffffffff000, orig=0x7fff14729d
#15 0x000000000041c84c in waa__read_or_build_tree (root=0x7fff14729b80, argc=1,
normalized=0x632350, orig=0x7fff14729d88, re
#16 0x0000000000413546 in rev__work (root=0x7fff14729b80, argc=1,
argv=0x7fff14729d88) at revert.c:556
#17 0x000000000040c78c in main (argc=4, args=0x7fff14729d78) at fsvs.c:991
The memory gets allocated to increase a stringbuf ... although revert.c:176 says
stream=svn_stream_from_aprfile(a_stream, subpool);
so it should go directly into a file.
(BTW, the same happens on update - and I can reproduce it there, too.)
I've got libsvn1=1.4.4dfsg1-1.
So, for a summary -- I can see the problem, but as yet I don't
know where it happens.
Regards,
Phil
--
Versioning your /etc, /home or even your whole installation?
Try fsvs (fsvs.tigris.org)!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]