[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Using perl to delta large files

From: David Gwyn <gwyn_at_vss.fsi.com>
Date: 2005-05-03 16:49:28 CEST

I am writing a perl script to submit deltas. My current code runs out
of memory when submitting large files (files in the gigabyte range).
This happens because I read the entire file contents and then call
send_string. Does anyone have any suggestions on how I can break the
file up so it doesn't run into memory problems when I delta a file?
Would I use send_stream instead of send_string?

Attached is a portion of the code that I use.

Thanks,
David

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Received on Tue May 3 16:51:05 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.