From: derek Date: Tue, 5 Apr 2011 17:37:01 +0000 (-0400) Subject: Rolled back the BGZF buffer size to the original 64K. 256K was causing X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;ds=sidebyside;h=9cf50963514decd5c272f52a0a019c6289d43c63;p=bamtools.git Rolled back the BGZF buffer size to the original 64K. 256K was causing crashes on some systems. --- 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