Hacker News new | ask | show | jobs
by koosnel 2680 days ago
My 8gig ram linux system runs out of ram and sometimes crashes when I run Android Studio. It refuses to use the default swap file on the ssd hard drive.I created a 16 gig swap file and set the swappiness value to 100. It only uses a few megabytes of the swapfile sometimes and still runs out of memory when I run Android Studio and then crashes. I ordered 16 gig ddr4 ram today and will remove the current swap file when the ram arrives. Seems like the only solution. I don't have time to burn another night reading up on this.