From 1a498b62bf1cd6b9f001c490c43ab127d9c4d301 Mon Sep 17 00:00:00 2001 From: Curtis Gedak Date: Wed, 24 Mar 2010 14:47:46 -0600 Subject: [PATCH] Enable copy to work on computers with only 128 MiB RAM (#613430) --- src/GParted_Core.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GParted_Core.cc b/src/GParted_Core.cc index 6fa3636b..70ab305c 100644 --- a/src/GParted_Core.cc +++ b/src/GParted_Core.cc @@ -2122,7 +2122,7 @@ bool GParted_Core::copy_filesystem( const Glib::ustring & src_device, operationdetail .add_child( OperationDetail( _("finding optimal blocksize"), STATUS_NONE ) ) ; - Sector benchmark_blocksize = readonly ? 128 : 64, N = 65536 ; + Sector benchmark_blocksize = readonly ? 128 : 64, N = 32768 ; Sector optimal_blocksize = benchmark_blocksize ; Sector offset_read = src_start, offset_write = dst_start ;