Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/zmalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ static size_t pmem_threshold = UINT_MAX;
static size_t used_memory = 0;
static size_t used_pmem_memory = 0;
pthread_mutex_t used_memory_mutex = PTHREAD_MUTEX_INITIALIZER;
pthread_mutex_t used_pmem_memory_mutex = PTHREAD_MUTEX_INITIALIZER;

static void zmalloc_default_oom(size_t size) {
fprintf(stderr, "zmalloc: Out of memory trying to allocate %zu bytes\n",
Expand Down