High Memory Usage?

Hello I keep having issues with high memory usage .
Since the start of this week memory usage would climb to 100% when having pycharm and firefox opened together , and pycharm gets automatically killed.

The processes barely add up to 20% of total memory. but system monitor says 60% of my memory is used. Am I missing something here?

inxi -F                                                                                            ✔ 
System:
  Host: pc2 Kernel: 5.15.32-1-MANJARO arch: x86_64 bits: 64 Desktop: GNOME
    v: 41.5 Distro: Manjaro Linux
Machine:
  Type: Laptop System: HP product: HP Pavilion Gaming Laptop 15-ec2xxx v: N/A
    serial: <superuser required>
  Mobo: HP model: 88DD v: 96.31 serial: <superuser required> UEFI: AMI
    v: F.15 date: 08/18/2021
Battery:
  ID-1: BAT0 charge: 48.0 Wh (99.8%) condition: 48.1/48.1 Wh (100.0%)
CPU:
  Info: 6-core model: AMD Ryzen 5 5600H with Radeon Graphics bits: 64
    type: MT MCP cache: L2: 3 MiB
  Speed (MHz): avg: 1434 min/max: 1200/4280 cores: 1: 1397 2: 1397 3: 1397
    4: 1342 5: 1198 6: 1393 7: 1600 8: 2702 9: 1198 10: 1197 11: 1197 12: 1197
Graphics:
  Device-1: NVIDIA TU117M driver: nvidia v: 510.60.02
  Device-2: AMD Cezanne driver: amdgpu v: kernel
  Device-3: Luxvisions Innotech HP TrueVision HD Camera type: USB
    driver: uvcvideo
  Display: x11 server: X.Org v: 1.21.1.3 with: Xwayland v: 22.1.1 driver:
    X: loaded: amdgpu,nvidia unloaded: modesetting,nouveau,radeon gpu: amdgpu
    resolution: 1920x1080~144Hz
  OpenGL: renderer: AMD RENOIR (DRM 3.42.0 5.15.32-1-MANJARO LLVM 13.0.1)
    v: 4.6 Mesa 21.3.8
Audio:
  Device-1: NVIDIA driver: snd_hda_intel
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor driver: N/A
  Device-3: AMD Family 17h/19h HD Audio driver: snd_hda_intel
  Sound Server-1: ALSA v: k5.15.32-1-MANJARO running: yes
  Sound Server-2: PulseAudio v: 15.0 running: yes
  Sound Server-3: PipeWire v: 0.3.49 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    driver: r8169
  IF: eno1 state: down mac: 48:9e:bd:53:59:b2
  Device-2: Realtek RTL8852AE 802.11ax PCIe Wireless Network Adapter
    driver: rtw89_pci
  IF: wlo1 state: up mac: f8:89:d2:6f:c8:e3
Bluetooth:
  Device-1: Realtek Bluetooth Radio type: USB driver: btusb
  Report: rfkill ID: hci0 state: up address: see --recommends
Drives:
  Local Storage: total: 476.94 GiB used: 56.69 GiB (11.9%)
  ID-1: /dev/nvme0n1 vendor: Toshiba model: KBG40ZNV512G KIOXIA
    size: 476.94 GiB
Partition:
  ID-1: / size: 87.79 GiB used: 56.61 GiB (64.5%) fs: ext4
    dev: /dev/nvme0n1p4
  ID-2: /boot/efi size: 256 MiB used: 79.9 MiB (31.2%) fs: vfat
    dev: /dev/nvme0n1p1
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 53.0 C mobo: N/A gpu: amdgpu temp: 41.0 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 332 Uptime: 3h 47m Memory: 7.18 GiB used: 4.49 GiB (62.5%)
  Shell: Zsh inxi: 3.3.15

Start here: Swap - Manjaro

Further reading: https://www.linuxatemyram.com/

2 Likes

This hints that PyCharm consumes the most memory at that time.

1 Like

Hm, yes I hadn’t created a swap partition due to disk space limitations . I did now and it seems that it actually helps . I will come back tomorrow if everything is fine to mark this as the solution.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.