Antoine Pitrou <[EMAIL PROTECTED]> added the comment: > My code regularily calculates the sha1 sum of 10.000 files and because > in another reuse of the code had to deal with files too big to fit in > memory I set a limit of 256Mb.
Why don't you use a sensible buffer size, e.g. 1MB? Reading data in 256MB chunks sounds foolish in any case. _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3531> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com