Rsync / Cygwin : Cannot Allocate Memory
Rick Romero
rick at havokmon.com
Fri Mar 24 14:20:18 GMT 2006
Hi,
I'm running the latest cygwin, with rsync 2.6.6 protocol 26.
My command is:
c:\cygwin\bin\rsync -vrtz --delete /cygdrive/e phoenix at 172.16.1.10 etc
I get the following error when trying to rsync 500,000 files:
rsync: fork failed in do_recv: Cannot allocate memory (12)
rsync error: error in IPC code (code 14) at main.c(550)
rsync: connection unexpectedly closed (4 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12)
at /home/lapo/packaging/tmp/rsync-2.6.6/io.c(434)
Of course, this doesn't happen with a smaller fileset. I'd prefer to
not have to break up the transfer, as the programmers tend to just
create directories wherever they please and don't tell me when they do,
then complain that their stuff isn't backed up (been there).
But I'm kinda lost - I found a post that says each file uses 100 bytes,
the reference poster was trying to archive 5,000,000 files - which is
far more than I am. According to that post, my memory requirements
would only be 50,000,000 bytes. 50MB. Even if that doubled since the
post, it'd still only be 100MB.
The odd thing is, It WAS working with rsync 2.5.1-dev (from an
rsync_minimal archive I found on the web) - except that one was crashing
on a 2GB file (damn outlook pst files), but I was getting past the
filelist part.
I tried upping the memory for cygwin, because the new version has a
limit of 384MB, and I thought MAYBE the dll I grabbed had no limit - but
upping to 1024MB didn't work.
This is on a Win2k box.
Any suggestions?
Thanks
Rick
More information about the rsync
mailing list