On Tue, Mar 05, 2024 at 05:16:50AM +1000, Piers Rowan wrote:
> > > Lenovo Lenovo Yoga C740-14IML (Touch screen)
> > > 16.0 GiB / Intel® Core™ i7-10510U CPU @ 1.80GHz × 8
>
>[...]
>
> I just had a crash and managed to 'top' as it was going down. There was a
> process  fossilize_replay which is compiling shaders for a game (power went
>
>[...]
>
> I haven't changed anything and normally run all my applications
> concurrently: 2x code editors, Chrome, TB, console, Virtual Box and desktop
> apps (writer/calc).

16GB isn't a lot these days.  My guess is you're most likely running out of
RAM.  The best solution is to add more RAM to the system if possible.

Adding more swap space (a swap file will do if you can't repartition the
drive) can reduce the risk of out-of-memory crashes due to temporary
short-term spikes in usage (perhaps from things like fossilize_replay). Note
that adding more swap is a cheap, easy bandaid - it's worth doing but it
doesn't actually solve the problem. You won't want to be using a system that's
constantly swapping stuff in and out of RAM.

Also, try to reduce memory usage.  Start by not running everything at once if
you don't actually need to. e.g. don't run steam and your VM and Chrome at
the same time (i.e. if you're about to play a game, quit from everything not
needed by steam or that game), and don't leave steam running when you're not
about to play something.

Maybe reduce the amount of RAM allocated to your VM(s).

Chrome is a huge memory hog.  Try not to have too many windows/tabs open at
once.  Chrome's memory usage can be reduced by using an extension like The
Marvellous Suspender, which puts tabs to sleep when they've been idle for a
while.

https://chromewebstore.google.com/detail/the-marvellous-suspender/noogafoofpebimajpfpamcfhoaifemoa

If one or more of your code editors is Atom or some other chrome / electron
based app then it will also have huge RAM requirements (partly from being
based on chrome, part from being a shitty javascript app).  Replace it with a
native app. Maybe learn to use vi or emacs.

Ditto for stuff like the Discord app if you use that, which is also just
chrome bundled up with some javascript pretending to be a real app.

craig

--
craig sanders <[email protected]>
_______________________________________________
luv-main mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to