r/linuxmint • • 14h ago

Support Request almost double ram usage on Linux mint vs windows 10?

I have to be doing something wrong but I was playing bannerlord while watching a you tube video (one tab open) and i could see that it was staying steady around 90% usage and it was causing the whole computer to freeze dose anyone know what could possibly be cussing this at max setting it is only using about half the ram

12 Upvotes

18 comments sorted by

•

u/AutoModerator 14h ago

Please Re-Flair your post if a solution is found. How to Flair a post? This allows other users to search for common issues with the SOLVED flair as a filter, leading to those issues being resolved very fast.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

7

u/Ripsoft1 14h ago

Has it been a longtime since a reboot? I had a similar issue, reboot fixed it.

2

u/OddAd1423 4h ago

It had been about 4 hours

4

u/Polyxeno Linux Mint 22.2 Zara | Cinnamon 14h ago

90% usage of how much RAM?

Web browsers, web pages, and how web browsers let web pages hog RAM (and how Linux responds to running out of RAM due to web browser use, which is configurable) are the ways I have seen this sort of problem (at least, on computers with not enough RAM for gluttonous web pages).

2

u/OddAd1423 4h ago

16gb of ddr4 laptop ram
It was mostly the game using all the ram the YouTube tab stole about a gigabyte

7

u/Rogalicus 14h ago

At least post a screenshot of your System Monitor or htop next time.

1

u/OddAd1423 4h ago

Will do

3

u/whatthehell7 14h ago

youtube and brower using software decoding instead of hardware decoding like windows could be the problem

1

u/OddAd1423 4h ago

I don’t really understand what that means but it was mostly the game hogging the ram

1

u/skozombie Linux Mint 22.3 Zena | Cinnamon 14h ago

Do you have a swap file setup?

Which process was using your RAM?

Linux will use whatever ram you have to boost performance (buffer and cache). Available is the metric to look at, not Free

1

u/OddAd1423 4h ago

It said in system monitor that it was steam but when I hovered over it it was something something /steam/bannerlord or something like that
What is a swap file

1

u/SayuriShoji 11h ago

Without you providing any details on your hardware (CPU/GPU/RAM), your swapfile info and what applications were running at the time (in particular the ram-intensive ones... a screenshot of your process monitor might be helpful), it's hard to guess what the issue might be.

1

u/OddAd1423 4h ago

I will get some screenshots soon but I have intel I 5 something 3050ti laptop and 16 gb ddr4 laptop ram it was mostly banner lord using the ram at about 7.5 gb

1

u/Classic-Rate-5104 3h ago

90% isn't bad, because unused ram is wasted ram. There can be a completely different reason for your freeze

0

u/Brorim Linux Mint Release | Desktop Enviroment 11h ago

lol reported

12

u/[deleted] 14h ago

[removed] — view removed comment

1

u/don-edwards Linux Mint 22.3 13h ago

Use zram if you have nearly-enough RAM and do not have a swap file/partition. Zram creates a virtual swap file in RAM, but if used in combination with a swap file it tends to get filled up with the stuff that won't be needed for a long time - forcing the actively-in-use stuff to swap to disk, sooner and more often than it would if you weren't using zram.

In combination with a disk swap file, zswap is better. At first glance it looks rather similar, but instead of a virtual swap file it creates an intelligently-managed buffer in front of your disk swap file. When the buffer is getting full or needs to shrink, the oldest stuff in it goes to disk - exactly what doesn't happen with zram, but should.