Is Linux really allocating memory while a program calls malloc? What are the different ways to configure the Linux kernel for memory allocation?
/proc/sys/vm/overcommit_memory variable is a way to configure the Linux kernel to simply acknowledge without actually allocating memory. We demonstrate it with a simple C program. With this config enabled, this program could able to allocate 131 thousand GB of memory, which is imposible.
En esta página del sitio puede ver el video en línea overcommit_memory | Linux memory management | malloc | Linux free memory | virtual memory | C prog de Duración hora minuto segunda en buena calidad , que subió el usuario Command Line 31 diciembre 2022, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 72 veces y le gustó 3 a los espectadores. Disfruta viendo!