From 92dd1b3eb612fd975257337098fff73577e8ddf5 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Mon, 18 Jan 2016 00:01:26 -0600 Subject: [PATCH 1/1] blob_table: decrease initial blob table size --- src/wim.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wim.c b/src/wim.c index b5827171..43b25aca 100644 --- a/src/wim.c +++ b/src/wim.c @@ -177,7 +177,7 @@ wimlib_create_new_wim(enum wimlib_compression_type ctype, WIMStruct **wim_ret) return WIMLIB_ERR_NOMEM; wim->xml_info = xml_new_info_struct(); - wim->blob_table = new_blob_table(9001); + wim->blob_table = new_blob_table(64); if (!wim->xml_info || !wim->blob_table) { wimlib_free(wim); return WIMLIB_ERR_NOMEM; @@ -729,7 +729,7 @@ begin_read(WIMStruct *wim, const void *wim_filename_or_fd, int open_flags) } if (open_flags & WIMLIB_OPEN_FLAG_FROM_PIPE) { - wim->blob_table = new_blob_table(9001); + wim->blob_table = new_blob_table(64); if (!wim->blob_table) return WIMLIB_ERR_NOMEM; } else { -- 2.43.0