Manjaro freezes when running a minecraft server

Whenever I run a minecraft server (1.18.2 forge) it works until around 10 minutes, where Manjaro freezes and repeats all audio for a few seconds (kind of like loading in gmod). I have to restart my PC and there is nothing about any crash in journalctl. Is there a fix for this?

A good start might be inxi -Fazy

System:
  Kernel: 6.5.13-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc available: acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.5-x86_64
    root=UUID=61c32016-b18c-440d-b964-c72c8f6a7eef rw quiet splash
    udev.log_priority=3 pci=nommconf nvidia-drm.modeset=0 pcie_aspm=off
  Desktop: KDE Plasma v: 5.27.9 tk: Qt v: 5.15.11 wm: kwin_x11 vt: 2 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop System: Alienware product: Alienware Aurora R12 v: 1.1.12
    serial: <superuser required> Chassis: type: 3 serial: <superuser required>
  Mobo: Alienware model: 07W25T v: A01 serial: <superuser required>
    UEFI: Alienware v: 1.1.12 date: 03/31/2022
CPU:
  Info: model: 11th Gen Intel Core i9-11900KF bits: 64 type: MT MCP
    arch: Rocket Lake gen: core 11 level: v4 note: check built: 2021+
    process: Intel 14nm family: 6 model-id: 0xA7 (167) stepping: 1
    microcode: 0x5D
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 640 KiB desc: d-8x48 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB L3: 16 MiB
    desc: 1x16 MiB
  Speed (MHz): avg: 3788 high: 4700 min/max: 800/5100:5300 scaling:
    driver: intel_pstate governor: powersave cores: 1: 4700 2: 2925 3: 4162
    4: 4700 5: 2078 6: 3097 7: 4698 8: 3202 9: 4700 10: 3081 11: 4700 12: 4700
    13: 4015 14: 892 15: 4630 16: 4328 bogomips: 112160
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: gather_data_sampling mitigation: Microcode
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: retbleed mitigation: Enhanced IBRS
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Enhanced / Automatic IBRS, IBPB: conditional,
    RSB filling, PBRSB-eIBRS: SW sequence
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GA102 [GeForce RTX 3090] vendor: Dell driver: nvidia
    v: 545.29.06 alternate: nouveau,nvidia_drm non-free: 545.xx+ status: current
    (as of 2023-11; EOL~2026-12-xx) arch: Ampere code: GAxxx
    process: TSMC n7 (7nm) built: 2020-2023 pcie: gen: 4 speed: 16 GT/s
    lanes: 8 link-max: lanes: 16 bus-ID: 02:00.0 chip-ID: 10de:2204
    class-ID: 0300
  Device-2: Microdia Dual Mode Camera (8006 VGA) driver: hid-generic,usbhid
    type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-4.4:8
    chip-ID: 0c45:8006 class-ID: 0301
  Display: x11 server: X.Org v: 21.1.9 with: Xwayland v: 23.2.2
    compositor: kwin_x11 driver: X: loaded: nvidia gpu: nvidia display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 81 s-size: 602x343mm (23.70x13.50")
    s-diag: 693mm (27.28")
  Monitor-1: Unknown-1 mapped: HDMI-0 res: 1920x1080 dpi: 82
    size: 597x336mm (23.5x13.23") modes: 1920x1080
  API: EGL v: 1.5 hw: drv: nvidia platforms: device: 0 drv: nvidia device: 2
    drv: swrast gbm: drv: nvidia surfaceless: drv: nvidia x11: drv: nvidia
    inactive: wayland,device-1
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 545.29.06
    glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce RTX 3090/PCIe/SSE2
    memory: 23.44 GiB
  API: Vulkan v: 1.3.269 layers: 8 device: 0 type: discrete-gpu
    name: NVIDIA GeForce RTX 3090 driver: nvidia v: 545.29.06
    device-ID: 10de:2204 surfaces: xcb,xlib
Audio:
  Device-1: Intel vendor: Dell driver: snd_hda_intel v: kernel bus-ID: 00:1f.3
    chip-ID: 8086:f1c8 class-ID: 0403
  Device-2: NVIDIA GA102 High Definition Audio vendor: Dell
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 8
    link-max: lanes: 16 bus-ID: 02:00.1 chip-ID: 10de:1aef class-ID: 0403
  Device-3: fifine Headset driver: hid-generic,snd-usb-audio,usbhid type: USB
    rev: 1.1 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-4.2:4 chip-ID: 3142:0080
    class-ID: 0300
  Device-4: Blue Microphones Yeti Stereo Microphone
    driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 1.1 speed: 12 Mb/s
    lanes: 1 mode: 1.1 bus-ID: 1-6:3 chip-ID: b58e:9e84 class-ID: 0300
    serial: <filter>
  API: ALSA v: k6.5.13-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.0.0 status: off with: wireplumber status: active
    tools: pw-cli,wpctl
  Server-3: PulseAudio v: 16.1 status: active with: pulseaudio-alsa
    type: plugin tools: pacat,pactl
Network:
  Device-1: Intel Comet Lake PCH CNVi WiFi vendor: Rivet Networks
    driver: iwlwifi v: kernel bus-ID: 00:14.3 chip-ID: 8086:06f0 class-ID: 0280
  IF: wlo1 state: up mac: <filter>
  Device-2: Realtek Killer E3000 2.5GbE vendor: Dell driver: r8169 v: kernel
    pcie: gen: 2 speed: 5 GT/s lanes: 1 port: 3000 bus-ID: 04:00.0
    chip-ID: 10ec:3000 class-ID: 0200
  IF: enp4s0 state: down mac: <filter>
Bluetooth:
  Device-1: Intel AX201 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-14:10 chip-ID: 8087:0026
    class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Drives:
  Local Storage: total: 1.9 TiB used: 1.26 TiB (66.6%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Micron model: 2300 NVMe 1024GB
    size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: 23000030 temp: 44.9 C
    scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Western Digital model: WD10EZEX-75WN4A1
    size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    tech: HDD rpm: 7200 serial: <filter> fw-rev: 7113 scheme: GPT
  SMART Message: Unknown smartctl error. Unable to generate data.
  ID-3: /dev/sdb maj-min: 8:16 vendor: Lexar model: USB Flash Drive
    size: 59.62 GiB block-size: physical: 512 B logical: 512 B type: USB rev: 3.0
    spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 tech: SSD serial: <filter>
    fw-rev: 1100 scheme: MBR
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
  ID-1: / raw-size: 168.09 GiB size: 164.4 GiB (97.80%)
    used: 138.43 GiB (84.2%) fs: ext4 block-size: 4096 B dev: /dev/nvme0n1p1
    maj-min: 259:1
  ID-2: /boot/efi raw-size: 9.54 GiB size: 9.53 GiB (99.90%)
    used: 30.1 MiB (0.3%) fs: vfat block-size: 512 B dev: /dev/nvme0n1p2
    maj-min: 259:2
  ID-3: /home raw-size: 776.23 GiB size: 762.98 GiB (98.29%)
    used: 661.44 GiB (86.7%) fs: ext4 block-size: 4096 B dev: /dev/nvme0n1p3
    maj-min: 259:3
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 75.0 C pch: 46.0 C mobo: N/A gpu: nvidia temp: 50 C
  Fan Speeds (rpm): N/A gpu: nvidia fan: 30%
Info:
  Processes: 357 Uptime: 7m wakeups: 0 Memory: total: 32 GiB note: est.
  available: 31.01 GiB used: 13.39 GiB (43.2%) Init: systemd v: 254
  default: graphical tool: systemctl Compilers: gcc: 13.2.1 alt: 12
  clang: 16.0.6 Packages: 2201 pm: pacman pkgs: 2102 libs: 561
  tools: pamac,paru,yay pm: flatpak pkgs: 99 Shell: Zsh v: 5.9 default: Bash
  v: 5.2.21 running-in: konsole inxi: 3.3.31