top | item 45433115

(no title)

sudoshred | 5 months ago

My m1 16gb pro gets throttled (and manually restarted) every time vs code hits 100gb ram usage when running jest unit tests. Don’t know who to blame but 99% sure the problem is my source code and not the machine.

discuss

order

gigatexal|5 months ago

Chrome eats all my resources too and I have 128GB of ram. Some pages like ClickUp and the Google cloud console (bigquery) eat something like 3-5GB

raddan|5 months ago

You’re chewing through 100GB of RAM on unit tests? What is filling your RAM? Are you sure that you don’t have a memory leak somewhere?

sudoshred|5 months ago

I’m certain it’s a memory leak, just not sure solving the problem is worth my time.

kjkjadksj|5 months ago

100gb ram usage? Why not build a pc?

necovek|5 months ago

Considering he's got a 16GB of RAM, this is virtual memory, and most programs don't need to keep it all loaded at all times (if they do, you'll notice with constant paging exception handling).