Folks working with data intensive applications often need to trade off writing code to page data in and out of memory during development with larger dev boxes.
8gb still sounds a bit excessive but given how long java stack traces can be maybe it's not so strange.
You're not opening a TXT file with 100K lines in it.
Sound more like a Jetbrain ( IntelliJ company ) problem. Used to develop on PHPstorm ( another Jetbrain ) product ( same software in the background ) and the slow startup's, 2GB+ memory eating for relative small projects, crashes way too much, expensive as hell for what it does ( especially with the license change years ago ) ...
Eventually switched to Visual Studio Code and while people whine how Electron is memory inefficient, its like 1/6 the memory usage of PHPstorm, with only a few features missing.
Even on a 32GB PC system, i barely use 16GB ( and WSL2 is eating up a lot with a lot of docker images. And its not really docker, just Linux cache eating up memory ). Not a issue on a Mac that does not need a VM like layer.
Its about priorities sometimes. If people keep upgrading their memory, developers/companies simply push the responsibility to the clients and do not bother with spending time on optimizing.
If people start leaving software product on the way side for being just horrible inefficient messes, then maybe a bit of focus will come back to actually optimizing products! You will see Jetbrain change tune, when VSC etc keep eating its market share.
Certainly some devs need more than 16gb, but they know who they are. And you know who they are because, well, they love telling you :).
$ dd if=/dev/zero of=/swap bs=1M count=8192
$ mkswap /swap
$ swapon /swap
$ echo "/swap swap swap defaults 0 0" >> /etc/fstabI use swap files all the time with things like raspberry pi's and such because I don't want to mess with the sd card partitions, but still from time to time it's good to have that swap fallback since the memory onboard is limited.
Swap files are super easy to set up, take up no "brainpower" and disk space is cheap these days.
If it works, is it impression or reality?
Jetbrains that fits in 8GB of memory with slack and Firefox leaving 2GB free it's not happening
I used to code on 800×600 monitors professionally
If I say today that they are more than enough to work, I expect to be taken to a mental institution
At the moment I have around 2 GB free on my 8 GB Linux machine with a webserver, MariaDB, a JetBrains IDE, Slack and Firefox running. It would be easy and dirt cheap to increase the RAM to 16 or 32 GB but I'm too lazy to even order it and open the machine up since I have never felt the need to have more.
I'm just saying this so that people like me remember that they're still professionals and their work is valuable even if they don't need 64 GB of RAM.