Alex Schroeder 🐝 is a user on octodon.social. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.
Alex Schroeder 🐝 @kensanata

What does it mean when "apps" have this much memory? Back in week 14 I "solved" the situation using a reboot. My problem is that I don't know how to find those "apps" using top or ps. Any ideas? And what does "apps" in this context even mean?

Β· Web Β· 0 Β· 0

@kensanata The first machine I worked on had 8k of 32 bit wide core, and supported 18 concurrent users. The amount of memory we have available these days is just enormous.

@simon_brooke Definitely! ZX Spectrum 48K ahoi! And my dad told me they used to run an aluminum plant using 1KB, swapping stuff to tape in order to make space for new programs being loaded...

@kensanata apps is your running processes. i never know how to use top (and usually prefer htop), but the easiest way would be to sort by %mem and see what uses the most

@CobaltVelvet @kensanata I second this. htop is great -- I usually do F5 for "tree" sorting, and then collapse processes to make it cleaner to read.

@CobaltVelvet Hm. What confuses me is that the processes listed at the top when sorting by %MEM seem reasonable web app services. I've now killed any that used more than 100M RES. Let's see whether that affects the reading.

@CobaltVelvet Hm, sorting by MEM% and killing the big ones definitely helps. So I guess my process farm is sometimes stuck. I need better debugging to find what these processes are doing.

@kensanata if on linux, open up top and sort by memory usage with shift+m. Look for apps that use most of the memory.

Be aware that this can be either pne large process or multiple smaller ones. In either case you should browse the processlist to see what stands out.