GustavoMtoLinux@lemmy.mlEnglish·10 months agoAs a normal, boring user that does nothing special other than browse the internet and the occasional "casual coding" -- what am I supposed to do with 32GiB of ram?message-squarearrow-up11arrow-down10message-square31file-textfedilink
arrow-up11arrow-down1message-squareAs a normal, boring user that does nothing special other than browse the internet and the occasional "casual coding" -- what am I supposed to do with 32GiB of ram?GustavoMtoLinux@lemmy.mlEnglish·10 months agomessage-square31file-textfedilink
minus-squareNotAnArdvarkarrow-up0arrow-down0·10 months agolinkfedilinkHere’s a little script I’ve put in my $PATH, called memsum: #!/usr/bin/bash /usr/bin/ps -eo rss,command --sort -rss | egrep $1 | awk '{ hr=$1/1024 ; sum +=hr} END {print sum}' Now you can go: memsum firefox or memsum whatever and see that, actually, apps use a ridiculous amount of memory these days. I can get Firefox up to 8GB by using things like Office 365.
Here’s a little script I’ve put in my $PATH, called
memsum
:#!/usr/bin/bash /usr/bin/ps -eo rss,command --sort -rss | egrep $1 | awk '{ hr=$1/1024 ; sum +=hr} END {print sum}'
Now you can go:
memsum firefox
ormemsum whatever
and see that, actually, apps use a ridiculous amount of memory these days.I can get Firefox up to 8GB by using things like Office 365.
https://www.linuxatemyram.com/