Memory mapping in llama.cpp enables multiple processes to share the same read-only model weights in physical memory (using `MAP_SHARED`), effectively reducing total RAM usage. This allows users to load models up to twice as large as before without compromising system stability.