Memory at 99% CPU1, memory hogging

Hayden,

Shouldn’t Oswald also enter the following before the update-grub?

sudo update-initramfs -u -k all


Oswald,

Can you try controlling the CPU frequency directly? The following script should work for you.


From what I see, the frequency values that should be reported for pstates for your CPU (Intel Core i7-1185G7) are

  •  400 MHz
  • 1200 MHz
  • 3000 MHz
  • 4800 MHz

If you try the command
sudo HW_Admin__Power_SetFreqCPU.sh --status

you should get a report that looks something like this:

2026-05-27 20:37:32|  CPU 0:  userspace  1400 MHz [800 <-> 2600]
2026-05-27 20:37:32|  CPU 1:  userspace  1400 MHz [800 <-> 2600]
2026-05-27 20:37:32|  CPU 2:  userspace  1400 MHz [800 <-> 2600]
2026-05-27 20:37:32|  CPU 3:  userspace  1400 MHz [800 <-> 2600]

If you enter the command
HW_Admin__Power_SetFreqCPU.sh --fmidlo

that will set your frequency on all 8 CPUs to 1200 MHz, and should report as follows:

2026-05-27 20:37:32|  CPU 0:  userspace  1200 MHz [400 <-> 4800]
2026-05-27 20:37:32|  CPU 1:  userspace  1200 MHz [400 <-> 4800]
2026-05-27 20:37:32|  CPU 2:  userspace  1200 MHz [400 <-> 4800]
2026-05-27 20:37:32|  CPU 3:  userspace  1200 MHz [400 <-> 4800]
2026-05-27 20:37:32|  CPU 4:  userspace  1200 MHz [400 <-> 4800]
2026-05-27 20:37:32|  CPU 5:  userspace  1200 MHz [400 <-> 4800]
2026-05-27 20:37:32|  CPU 6:  userspace  1200 MHz [400 <-> 4800]
2026-05-27 20:37:32|  CPU 7:  userspace  1200 MHz [400 <-> 4800]

IF your charts monitoring the CPUs reflect no change, I don’t know what to try next.


For your GRUB file, you might want to consider setting the following with values suited to your preferences:
# Explicitly force graphics terminal
GRUB_TERMINAL=gfxterm

# Explicitly specify the choices for the resolution and colour depth for your display
GRUB_GFXMODE="1920x1080x32,1600x900x32,auto"

# Set to keep to pass on any resolution/graphics mode
GRUB_GFXPAYLOAD_LINUX="keep"

# Customize boot-time "Splash" graphics (a.k.a like a reseller's logo)
GRUB_BACKGROUND="/boot/grub/BG__Login_00__Ubuntu-MATE_WordMark_Modifiedv2_1440x900.png"



###
###	BOOT Menu Color Styling	**  Note: run 'update-grub' update grub for these changes to apply.
###
###	Line that is not currently selected (FG/BG)
GRUB_COLOR_NORMAL="yellow/black"

###	Line that is selected (FG/BG)
GRUB_COLOR_HIGHLIGHT="black/yellow"

###	Background for selection menu => specified image.
GRUB_MENU_PICTURE="/boot/grub/BG__Login_00__Ubuntu-MATE_WordMark_Modifiedv2_1440x900.png"

NOTE: The background should be sized for your screen resolution.

2 Likes