Timeline for Bash script to send notifications when low on ram
Current License: CC BY-SA 4.0
18 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 28, 2019 at 21:28 | answer | added | David Mosler | timeline score: 1 | |
| Oct 24, 2018 at 18:46 | answer | added | Zeta | timeline score: 3 | |
| Oct 24, 2018 at 15:54 | comment | added | Ismael Miguel | @TobySpeight I know what the problem is. Right now, I have the need to keep: 5 instances of Notepad++ running, with 5-80 files each, ocasionally 1 VM with 1GB of RAM, around 10-15 tabs on multiple instances of Google Chrome, MySQL Workbench, Spotify (for music), Pulseeffects and Thunderbird, on top of a few Libreoffice instances. | |
| Oct 24, 2018 at 14:13 | comment | added | Toby Speight |
Adding swap soon reaches a point of diminishing returns. You'd do better by reducing kernel overcommit, or identifying problem processes (e.g. Web browsers, for some reason) and arranging to run them with a reasonable ulimit -v.
|
|
| Oct 24, 2018 at 8:50 | comment | added | Ismael Miguel | Well, even with a 9GB swap file, I've managed to get to 160MB of free ram with 1 vm running (1GB RAM went for it) :/ | |
| Oct 24, 2018 at 8:42 | history | edited | Ismael Miguel | CC BY-SA 4.0 |
Ninja edit to fix a tiny bug where the notification would appear without an icon
|
| Sep 30, 2018 at 21:47 | history | edited | Ismael Miguel |
Removed the "email" tag cause it has nothing to do with emails, added "shell" back cause this is a script to be executed both in a cron and in a shell
|
|
| Sep 30, 2018 at 21:00 | history | tweeted | twitter.com/StackCodeReview/status/1046504975327735809 | ||
| Sep 30, 2018 at 15:47 | comment | added | Ismael Miguel | And increased the swap file to 9GB. But still, avoiding to use swap is good. | |
| Sep 30, 2018 at 15:10 | comment | added | Ismael Miguel | ... True, True ... Didn't though about that ... I've also noted that suspending the PC with high RAM usage causes it to crash when restoring. Maybe it is related? | |
| Sep 30, 2018 at 15:01 | comment | added | Michel Billaud | @IsmaelMiguel with a swap FILE you don't have to change the partitions. | |
| Sep 30, 2018 at 15:00 | comment | added | Ismael Miguel | @chicks That's where I took most of the solutions I've found for my problems. I like to give credit where credit is due. | |
| Sep 30, 2018 at 14:58 | comment | added | Ismael Miguel | @MichelBillaud Well, even swap has a limit. To add swap, I would have to re-format the SSD (or mess with already-existing partitions) and that's a bigger pain that warning me that i have too much trash open. | |
| Sep 30, 2018 at 14:57 | comment | added | Michel Billaud | Consider adding a couple gigabytes of swap space, it is a cheap solution nowadays. Easy to do in the form of an extra swapfile. Or Simply buy more ram, if you need it. | |
| Sep 30, 2018 at 14:55 | comment | added | chicks | Bravo for a large percentage of your code comments being StackExchange links. | |
| Sep 30, 2018 at 14:51 | history | edited | 200_success |
edited tags
|
|
| Sep 30, 2018 at 13:10 | history | edited | Ismael Miguel | CC BY-SA 4.0 |
added 15 characters in body
|
| Sep 30, 2018 at 13:02 | history | asked | Ismael Miguel | CC BY-SA 4.0 |