opendir(somedir/somefile): Not enough space -- why?

jw schultz jw at
Fri Jan 24 22:53:01 EST 2003

On Fri, Jan 24, 2003 at 02:20:33PM -0700, Bill Geddes wrote:
> More error data:
> The usage I have described returns an error code of 12 -
> Error in rsync protocol data stream
> Also, on the tail end of the std out:
> opendir(somedir): Not enough space
> done
> somedir/
> somedir/.somefile is uptodate
> somedir/somefile.HTML
> ERROR: out of memory in map_ptr
> rsync error: error allocating core memory buffers (code 22) at
> util.c(232)
> somedir/doc/somefile/
> rsync: read error: Connection reset by peer
> rsync error: error in rsync protocol data stream (code 12) at io.c(162)

malloc has failed.  You're out of memory.  rsync can be a
memory pig.  Upgrading to cvs or 2.5.6pre* _may_ help.

It is probably necessary to break the job up.  A better
gauge of the memory requirements of an rsync transfer would
be df -i or find . | wc -l

	J.W. Schultz            Pegasystems Technologies
	email address:		jw at

		Remember Cernan and Schmitt

More information about the rsync mailing list