aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortradke <tradke@4825ed28-b72c-4eae-9704-e50c059e567d>2004-08-24 16:26:01 +0000
committertradke <tradke@4825ed28-b72c-4eae-9704-e50c059e567d>2004-08-24 16:26:01 +0000
commit75d4572e68cf86c53e69991aed90b285ff7e4c53 (patch)
tree2e815e0736a02357f2cf02059d73c2295e63d850
parent76fb697799db62c9fcc11accbeecf9337e3c7904 (diff)
Reduce the sieve buffer size from 32 MB down to 8 MB to overcome memory
allocation problems for large number of files to be recombined. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5/trunk@204 4825ed28-b72c-4eae-9704-e50c059e567d
-rw-r--r--src/util/hdf5_recombiner.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/hdf5_recombiner.c b/src/util/hdf5_recombiner.c
index d984ba7..8891bbe 100644
--- a/src/util/hdf5_recombiner.c
+++ b/src/util/hdf5_recombiner.c
@@ -35,7 +35,7 @@ CCTK_FILEVERSION(CactusPUGHIO_IOHDF5_util_hdf5_recombiner_c)
/* the size (in bytes) of the data sieving buffer for input files
(should be larger than HDF5's default of 64 kB) */
-#define SIEVE_BUFFERSIZE (32 * 1024 * 1024)
+#define SIEVE_BUFFERSIZE (8 * 1024 * 1024)
/* macro to do an HDF5 call, check its return code, and print a warning
in case of an error */