MySQL and memory Allocators malloc, tcmalloc and jemalloc
Memory Allocation in UNIX: UNIX uses C dynamic memory allocation libraries for memory allocation. Namely malloc, realloc, calloc and free are used. Functions of these liberaries are given below. Function Description malloc allocates the specified number of bytes realloc Increases or decreases the size of the specified block of memory. Reallocates it if needed calloc allocates the specified number […]