Write the kernel messages to standard output. More information: https://www.manpagez.com/man/8/dmesg/.
dmesg
dmesg | grep -i memory
dmesg | less