Post by Michael KjörlingPost by Jeff PangMy tiny vps from vultr has 512m ram only (it’s 2.5usd/m so cheap).
Should I install debian 9 in it for this limited memory?
Definitely not, because Debian 9 is LONG out of support.
This is definitely a cause for concern. Debian 10 is right near the end
of its supported lifespan as well. But Jeff will need to weigh the
needs of his applications (whatever the reason he's getting this VPS
in the first place) vs. which versions of Debian support those applications
vs. how much memory such a configuration will require vs. how long he
intends to keep it running past end of life vs. how important security
is to his applications.
In short, there is no simple answer, especially in the nearly complete
absence of ANY details from the OP.
Post by Michael KjörlingDebian 12 will boot in 256 MB RAM (I think that's the minimum
supported configuration on amd64, which your VPS very likely is) and a
minimal system will consume a fair bit less than that after booting;
so depending on what you want that VPS to do, 512 MB RAM should be
plenty.
Maybe. It obviously depends on what the goals are for the VPS. A web
server with PHP applications and a database will probably *not* work
very well.
Post by Michael KjörlingAnd you can always add swap to it if you don't want to splurge
on an additional RAM allocation.
That depends on the type of VPS this is. Some kinds do *not* support
adding swap space. You get your allocated RAM, and that's it.
Given the price, I would assume this is one where there's no swap option.