1.  Analysis of the output of neofetch

It appears that you used 'neofetch' to display the available RAM.

According to the source code of neofetch (specifically, the get_memory() 
function on line 2676),
the memory information (3317MiB) is sourced from /proc/meminfo as follows.

https://github.com/dylanaraps/neofetch/blob/master/neofetch

```sh
$ cat /proc/meminfo | grep "MemTotal"
```


2.  Analysis of the dmesg output

```sh

crashkernel reserved: 0x000000007d000000 - 0x000000009d000000 (512 MB)

Memory: 3300408K/4105784K available (21788K kernel code, 4575K rwdata,
15820K rodata, 5008K init, 4560K bss, 795668K reserved, 0K cma-reserved)

Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.14.0-33-generic 
root=UUID=5e941599-5254-42f8-bf32-22057992e495 ro quiet splash 
crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M 
vt.handoff=7
```

If you want to release the 512MB of reserved memory for the crashkernel, you 
can disable the crashkernel 
by modifying kernel command line arguments in the /etc/default/grub file.
However, keep in mind that doing so may reduce your system's resilience in the 
event of a crash.
So, proceed with caution.

Thank you for providing such detailed information to help with the
debugging process.

** Changed in: linux (Ubuntu)
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2127724

Title:
  Less RAM

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2127724/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to