From 9cf50963514decd5c272f52a0a019c6289d43c63 Mon Sep 17 00:00:00 2001 From: derek Date: Tue, 5 Apr 2011 13:37:01 -0400 Subject: [PATCH] Rolled back the BGZF buffer size to the original 64K. 256K was causing crashes on some systems. --- src/api/BamConstants.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/BamConstants.h b/src/api/BamConstants.h index 6a1695a..58b0e49 100644 --- a/src/api/BamConstants.h +++ b/src/api/BamConstants.h @@ -115,8 +115,8 @@ const int Z_DEFAULT_MEM_LEVEL = 8; // BZGF constants const int BGZF_BLOCK_HEADER_LENGTH = 18; const int BGZF_BLOCK_FOOTER_LENGTH = 8; -const int BGZF_MAX_BLOCK_SIZE = 262144; -const int BGZF_DEFAULT_BLOCK_SIZE = 262144; +const int BGZF_MAX_BLOCK_SIZE = 65536; +const int BGZF_DEFAULT_BLOCK_SIZE = 65536; } // namespace Constants } // namespace BamTools -- 2.39.5